Skip to content

[bug]: add type on SidebarProvider #9566

@ravenkim

Description

@ravenkim

Describe the bug

add type to SidebarProvider example

Affected component/components

sidebar

How to reproduce

 style={{
        "--sidebar-width": "20rem",
        "--sidebar-width-mobile": "20rem",
      }} 

to

   style={{
        "--sidebar-width": "24rem",
        "--sidebar-width-mobile": "24rem",
      } as React.CSSProperties}

Codesandbox/StackBlitz link

No response

Logs

System Info

https://ui.shadcn.com/docs/components/radix/sidebar

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions