Function
SidebarMenuSub
({ className, ...props }: React.ComponentProps<"ul">)
Source from the content-addressed store, hash-verified
| 594 | } |
| 595 | |
| 596 | function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) { |
| 597 | return ( |
| 598 | <ul |
| 599 | className={cn( |
| 600 | "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-sidebar-border border-l px-2.5 py-0.5", |
| 601 | "group-data-[collapsible=icon]:hidden", |
| 602 | className, |
| 603 | )} |
| 604 | data-sidebar="menu-sub" |
| 605 | data-slot="sidebar-menu-sub" |
| 606 | {...props} |
| 607 | /> |
| 608 | ) |
| 609 | } |
| 610 | |
| 611 | function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">) { |
| 612 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected