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

Function MenubarLabel

packages/react/src/components/menubar.tsx:151–166  ·  view source on GitHub ↗
({
  className,
  inset,
  ...props
}: React.ComponentProps<typeof MenubarPrimitive.Label> & {
  inset?: boolean;
})

Source from the content-addressed store, hash-verified

149}
150
151function MenubarLabel({
152 className,
153 inset,
154 ...props
155}: React.ComponentProps<typeof MenubarPrimitive.Label> & {
156 inset?: boolean;
157}) {
158 return (
159 <MenubarPrimitive.Label
160 data-slot="menubar-label"
161 data-inset={inset}
162 className={cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className)}
163 {...props}
164 />
165 );
166}
167
168function MenubarSeparator({
169 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected