Function
SidebarInset
({ className, ...props }: React.ComponentProps<"main">)
Source from the content-addressed store, hash-verified
| 305 | } |
| 306 | |
| 307 | function SidebarInset({ className, ...props }: React.ComponentProps<"main">) { |
| 308 | return ( |
| 309 | <main |
| 310 | data-slot="sidebar-inset" |
| 311 | className={cn( |
| 312 | "bg-background relative flex w-full flex-1 flex-col", |
| 313 | "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", |
| 314 | className |
| 315 | )} |
| 316 | {...props} |
| 317 | /> |
| 318 | ) |
| 319 | } |
| 320 | |
| 321 | function SidebarInput({ |
| 322 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected