MCPcopy Create free account
hub / github.com/arctic-cli/interface / SidebarInset

Function SidebarInset

packages/web/components/ui/sidebar.tsx:289–301  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"main">)

Source from the content-addressed store, hash-verified

287}
288
289function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
290 return (
291 <main
292 className={cn(
293 "relative flex w-full flex-1 flex-col bg-background",
294 "md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2 md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm",
295 className,
296 )}
297 data-slot="sidebar-inset"
298 {...props}
299 />
300 )
301}
302
303function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>) {
304 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected