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

Function SidebarMenuSub

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

Source from the content-addressed store, hash-verified

638}
639
640function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) {
641 return (
642 <ul
643 data-slot="sidebar-menu-sub"
644 data-sidebar="menu-sub"
645 className={cn(
646 "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
647 "group-data-[collapsible=icon]:hidden",
648 className
649 )}
650 {...props}
651 />
652 )
653}
654
655function SidebarMenuSubItem({
656 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected