ContextMenu(props): undefined | null | string | number | boolean | Iterable<ReactNode> | Element
A component that wraps its children, making them the "target" of a context menu so that the
context menu is displayed when the target is right-clicked.
Parameters
props: PropsWithChildren<ContextMenuProps>
The properties for the ContextMenu
component which define what menu items to display and supply a command handler for when a menu
item is clicked.
Returns undefined | null | string | number | boolean | Iterable<ReactNode> | Element
The ContextMenu component (including the wrapped children)
A component that wraps its children, making them the "target" of a context menu so that the context menu is displayed when the target is right-clicked.