Function
ContextMenuLabel
({
className,
inset,
...props
}: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
inset?: boolean
})
Source from the content-addressed store, hash-verified
| 185 | } |
| 186 | |
| 187 | function ContextMenuLabel({ |
| 188 | className, |
| 189 | inset, |
| 190 | ...props |
| 191 | }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & { |
| 192 | inset?: boolean |
| 193 | }) { |
| 194 | return ( |
| 195 | <ContextMenuPrimitive.Label |
| 196 | data-slot="context-menu-label" |
| 197 | data-inset={inset} |
| 198 | className={cn( |
| 199 | "text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", |
| 200 | className |
| 201 | )} |
| 202 | {...props} |
| 203 | /> |
| 204 | ) |
| 205 | } |
| 206 | |
| 207 | function ContextMenuSeparator({ |
| 208 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected