A simple, effective, lightweight context menu with animation made for React.
Install the component in your project:
npm install react-ctx-menu --save
Import the component into your project:
ctxId, and an array of menu items with icons, labels, and functions:
logo is an image file imported into the parent component:
ctxId is the area in which you'd like right-click functionality. Add a unique
id to your right-clickable element, and react-context-menu will be available anywhere within that element.