MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / Menubar

Function Menubar

packages/react/src/components/menubar.tsx:9–20  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>)

Source from the content-addressed store, hash-verified

7import { cn } from "../lib/utils";
8
9function 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
22function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>) {
23 return <MenubarPrimitive.Menu data-slot="menubar-menu" {...props} />;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected