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

Function Menubar

src/components/ui/menubar.tsx:9–23  ·  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({
10 className,
11 ...props
12}: React.ComponentProps<typeof MenubarPrimitive.Root>) {
13 return (
14 <MenubarPrimitive.Root
15 data-slot="menubar"
16 className={cn(
17 "bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs",
18 className
19 )}
20 {...props}
21 />
22 )
23}
24
25function MenubarMenu({
26 ...props

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected