react-submenu
v0.0.2
Published
> Unopinionated right click context menu so simple it hurts 👺
Downloads
4
Readme
react-submenu
Unopinionated right click context menu so simple it hurts 👺
Installation
$ yarn add react-submenu
Usage
import {Submenu} from 'react-submenu'
<Submenu content={<div>This will appear on right click</div>}>
<div>
right click on me
</div>
</Submenu>
TODO
- [ ] hide menu on: resize, mousedown, click, keydown, scroll?