Function
MenubarLabel
({
className,
inset,
...props
}: React.ComponentProps<typeof MenubarPrimitive.Label> & {
inset?: boolean
})
Source from the content-addressed store, hash-verified
| 162 | } |
| 163 | |
| 164 | function 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 | |
| 184 | function MenubarSeparator({ |
| 185 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected