Skip to content

ContextMenuItemEntry

Defined in: contextMenu.tsx:21

Context menu item definition (resolved from factory)

optional disabled: boolean

Defined in: contextMenu.tsx:31

Whether the item is disabled (default: false)


optional icon: 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: () => void

Defined in: contextMenu.tsx:27

Handler called when the menu item is clicked

void


optional visible: boolean

Defined in: contextMenu.tsx:29

Whether to show this item (default: true)