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