ContextMenuItemEntry
Defined in: contextMenu.tsx:21
Context menu item definition (resolved from factory)
Properties
Section titled “Properties”disabled?
Section titled “disabled?”
optionaldisabled:boolean
Defined in: contextMenu.tsx:31
Whether the item is disabled (default: false)
optionalicon:ReactNode
Defined in: contextMenu.tsx:25
Optional icon to display alongside the label
label:
string
Defined in: contextMenu.tsx:23
Display label for the menu item
onClick()
Section titled “onClick()”onClick: () =>
void
Defined in: contextMenu.tsx:27
Handler called when the menu item is clicked
Returns
Section titled “Returns”void
visible?
Section titled “visible?”
optionalvisible:boolean
Defined in: contextMenu.tsx:29
Whether to show this item (default: true)