Function
SidebarMenuSub
({ className, ...props }: React.ComponentProps<"ul">)
Source from the content-addressed store, hash-verified
| 605 | } |
| 606 | |
| 607 | function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) { |
| 608 | return ( |
| 609 | <ul |
| 610 | data-slot="sidebar-menu-sub" |
| 611 | data-sidebar="menu-sub" |
| 612 | className={cn( |
| 613 | "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5", |
| 614 | "group-data-[collapsible=icon]:hidden", |
| 615 | className, |
| 616 | )} |
| 617 | {...props} |
| 618 | /> |
| 619 | ); |
| 620 | } |
| 621 | |
| 622 | function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">) { |
| 623 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected