MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / SidebarInset

Function SidebarInset

packages/react/src/components/sidebar.tsx:291–303  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"main">)

Source from the content-addressed store, hash-verified

289}
290
291function 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
305function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>) {
306 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected