Function
Menubar
({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>)
Source from the content-addressed store, hash-verified
| 7 | import { cn } from "../lib/utils"; |
| 8 | |
| 9 | function Menubar({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>) { |
| 10 | return ( |
| 11 | <MenubarPrimitive.Root |
| 12 | data-slot="menubar" |
| 13 | className={cn( |
| 14 | "flex h-9 items-center gap-1 rounded-md border bg-background p-1 shadow-xs", |
| 15 | className, |
| 16 | )} |
| 17 | {...props} |
| 18 | /> |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>) { |
| 23 | return <MenubarPrimitive.Menu data-slot="menubar-menu" {...props} />; |
Callers
nothing calls this directly
Tested by
no test coverage detected