ContextMenuItemProps Interface
Properties for the ContextMenuItem component
Extends
- Omit<React.AllHTMLAttributes<HTMLDivElement>, "disabled" | "hidden">
- CommonProps
Properties
Name | Type | Description | |
---|---|---|---|
badgeType | undefined | BadgeType | Badge to be overlaid on the item. | |
disabled | boolean | ConditionalBooleanValue | Disables any onSelect calls, hover/keyboard highlighting, and grays item. | |
hidden | boolean | ConditionalBooleanValue | Indicates whether the item is visible or hidden. | |
hideIconContainer | undefined | boolean | Hide the icon container. | |
icon | undefined | IconSpec | Icon to display in the left margin. | |
iconRight | undefined | IconSpec | Icon to display in the right margin. | |
isSelected | undefined | boolean | ||
onSelect | undefined | (event: any) => any |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
itemId | undefined | string | CommonProps | Optional unique identifier for item. |
Defined in
Last Updated: 21 March, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.