Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 6 days ago
JSON representation

A simple context menu component for React

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 (



Any component here


)
}
````

## Caveats to note

1. Does not support nesting
2. Menu is always added to the parent node