MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / SidebarInset

Function SidebarInset

src/components/ui/sidebar.tsx:307–319  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"main">)

Source from the content-addressed store, hash-verified

305}
306
307function 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
321function SidebarInput({
322 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected