Function
DropdownMenuLabel
({
className,
inset,
...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
inset?: boolean
})
Source from the content-addressed store, hash-verified
| 162 | } |
| 163 | |
| 164 | function DropdownMenuLabel({ |
| 165 | className, |
| 166 | inset, |
| 167 | ...props |
| 168 | }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { |
| 169 | inset?: boolean |
| 170 | }) { |
| 171 | return ( |
| 172 | <DropdownMenuPrimitive.Label |
| 173 | data-slot="dropdown-menu-label" |
| 174 | data-inset={inset} |
| 175 | className={cn( |
| 176 | "px-3 py-2 text-sm font-medium text-[var(--color-text-strong)]", |
| 177 | inset && "pl-8", |
| 178 | className |
| 179 | )} |
| 180 | {...props} |
| 181 | /> |
| 182 | ) |
| 183 | } |
| 184 | |
| 185 | function DropdownMenuSeparator({ |
| 186 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected