ContextMenu Class
A context menu populated with ContextMenuItem components. Can be nested using ContextSubMenu component.
Extends
- PureComponent<ContextMenuProps, ContextMenuState>
Methods
Name | Description | |
---|---|---|
constructor(props: ContextMenuProps): ContextMenu | ||
blur(): void | ||
componentDidUpdate(prevProps: ContextMenuProps): void | ||
focus(): void | ||
getRect(): DOMRect | ||
render(): ReactElement<any, string | JSXElementConstructor<any>> |
Properties
Name | Type | Description | |
---|---|---|---|
defaultProps Static | Partial<ContextMenuProps> |
Defined in
Last Updated: 22 March, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.