ContextMenuItem Class
Deprecated in 4.16.0. Use [[iTwinUI MenuItem]] instead.
Menu item component for use within a ContextMenu component.
Extends
- React.PureComponent<ContextMenuItemProps, ContextMenuItemState>
Methods
Name | Description | |
---|---|---|
constructor(props: ContextMenuItemProps): ContextMenuItem | ||
componentDidMount(): void | ||
componentDidUpdate(prevProps: ContextMenuItemProps): void | ||
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | ||
select(): void |
Properties
Name | Type | Description | |
---|---|---|---|
defaultProps Static | Partial<ContextMenuItemProps> | ||
state Readonly | Readonly<ContextMenuItemState> |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.