README
React ContextMenu
A simple library that allows you to create a context menu quickly and easily. The library uses react-popper
as a positioning engine.
Note that the version is an early alpha version, but it should rather not cause problems.
Usage
<ContextMenu
popperOptions={/* https://popper.js.org/docs/v2/modifiers/ */}
// "hide" is a method that allows you to manually hide the context menu
element={(hide) => ( /* ... your context menu element */ )}
>
{/* ... Your component's code */}
</ContextMenu>