Important: React Context Menu Wrapper v3+ uses React hooks and functional components. If your project does not support them, consider using v2 or below.
This library provides a simple wrapper for your context menus. It handles user interaction on desktop and mobile devices, and guarantees correct context menu positioning.
In an effort to stay unopinionated, this library does not provide any styling or additional components. It is up to you define your own styles and logic for the menu. This is useful when your CSS framework already provides dropdown menu styling (e.g. Bulma, Bootstrap) or when you need to implement some non-trivial logic for your context menu (e.g. Ogma context menus with tagging support).
Please enable ESLint and Prettier integration in your editor, and use the provided configs.
MIT © Tim K. 2020