Function
DropdownMenuLabel
({
className,
inset,
...props
}: MenuPrimitive.GroupLabel.Props & {
inset?: boolean;
})
Source from the content-addressed store, hash-verified
| 58 | } |
| 59 | |
| 60 | function DropdownMenuLabel({ |
| 61 | className, |
| 62 | inset, |
| 63 | ...props |
| 64 | }: MenuPrimitive.GroupLabel.Props & { |
| 65 | inset?: boolean; |
| 66 | }) { |
| 67 | return ( |
| 68 | <MenuPrimitive.GroupLabel |
| 69 | data-slot="dropdown-menu-label" |
| 70 | data-inset={inset} |
| 71 | className={cn( |
| 72 | "text-muted-foreground px-2 py-2 text-xs data-[inset]:pl-8", |
| 73 | className |
| 74 | )} |
| 75 | {...props} |
| 76 | /> |
| 77 | ); |
| 78 | } |
| 79 | |
| 80 | function DropdownMenuItem({ |
| 81 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected