ContextMenuItem Class

Deprecated  in 4.16.0. Use [[iTwinUI MenuItem]] instead.

Menu item component for use within a ContextMenu component.

Extends

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