| 289 | } |
| 290 | |
| 291 | function SidebarInset({ className, ...props }: React.ComponentProps<"main">) { |
| 292 | return ( |
| 293 | <main |
| 294 | data-slot="sidebar-inset" |
| 295 | className={cn( |
| 296 | "relative flex w-full flex-1 flex-col bg-background", |
| 297 | "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", |
| 298 | className, |
| 299 | )} |
| 300 | {...props} |
| 301 | /> |
| 302 | ); |
| 303 | } |
| 304 | |
| 305 | function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>) { |
| 306 | return ( |