Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rmdort/react-rightclickmenu
A simple context menu component for React
https://github.com/rmdort/react-rightclickmenu
contextmenu menu react rightclick
Last synced: 18 days ago
JSON representation
A simple context menu component for React
- Host: GitHub
- URL: https://github.com/rmdort/react-rightclickmenu
- Owner: rmdort
- Created: 2018-12-30T05:06:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-31T13:44:25.000Z (almost 6 years ago)
- Last Synced: 2024-10-13T18:48:28.338Z (about 1 month ago)
- Topics: contextmenu, menu, react, rightclick
- Language: JavaScript
- Homepage: https://rmdort.github.io/react-rightclickmenu/
- Size: 207 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# React right-click menu
A simple context menu component for React. Adds the menu to the parent node
## Installation
````
yarn add react-rightclickmenu
````## Usage
````
import ContextMenu from 'react-rightclickmenu'const App = () => {
return (
)
}
````## Caveats to note
1. Does not support nesting
2. Menu is always added to the parent node