Function
DropdownMenuLabel
({
className,
inset,
...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
inset?: boolean
})
Source from the content-addressed store, hash-verified
| 144 | } |
| 145 | |
| 146 | function DropdownMenuLabel({ |
| 147 | className, |
| 148 | inset, |
| 149 | ...props |
| 150 | }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { |
| 151 | inset?: boolean |
| 152 | }) { |
| 153 | return ( |
| 154 | <DropdownMenuPrimitive.Label |
| 155 | data-slot="dropdown-menu-label" |
| 156 | data-inset={inset} |
| 157 | className={cn( |
| 158 | "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", |
| 159 | className |
| 160 | )} |
| 161 | {...props} |
| 162 | /> |
| 163 | ) |
| 164 | } |
| 165 | |
| 166 | function DropdownMenuSeparator({ |
| 167 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected