Right Click Menu

Useful for displaying a list of contextual actions on right click.

Right-click on the box to display a menu

Props

PropTypeDescription
menuMenu elementThe menu to render (see Menu component for usage)
childrenReactNodeThe children to render. In particular must contain some RightClickable elements to trigger the menu

RightClickable

Props

PropTypeDescription
childrenReactElementA react element on which to attach the right-click functionality