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

Function MenubarLabel

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

Source from the content-addressed store, hash-verified

162}
163
164function MenubarLabel({
165 className,
166 inset,
167 ...props
168}: React.ComponentProps<typeof MenubarPrimitive.Label> & {
169 inset?: boolean
170}) {
171 return (
172 <MenubarPrimitive.Label
173 data-slot="menubar-label"
174 data-inset={inset}
175 className={cn(
176 "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
177 className
178 )}
179 {...props}
180 />
181 )
182}
183
184function MenubarSeparator({
185 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected