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

Function MenubarTrigger

src/components/ui/menubar.tsx:51–65  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof MenubarPrimitive.Trigger>)

Source from the content-addressed store, hash-verified

49}
50
51function MenubarTrigger({
52 className,
53 ...props
54}: React.ComponentProps<typeof MenubarPrimitive.Trigger>) {
55 return (
56 <MenubarPrimitive.Trigger
57 data-slot="menubar-trigger"
58 className={cn(
59 "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none",
60 className
61 )}
62 {...props}
63 />
64 )
65}
66
67function MenubarContent({
68 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected