Skip to content

Commit 2ee2b8f

Browse files
authored
Update README.md
1 parent 7b18513 commit 2ee2b8f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# react-context-menu (Airsquire)
22

3-
A lightweight right-click context menu implemented in React.
4-
5-
This fork is solving the ./style.css importing issue
3+
A lightweight right-click context menu implemented in React. This fork is solving the ./style.css importing issue
64

75
![example right-click menu](react-context-menu.png?raw=true "example right-click menu")
86

97
To use:
108

119
Install the component in your project:
1210

13-
```npm install react-context-menu --save```
11+
```npm install @airsquire/air-react-context-menu --save```
1412

1513
Import the component into your project:
1614

1715
```javascript
18-
import ContextMenu from 'air-react-context-menu';
16+
import ContextMenu from '@airsquire/air-react-context-menu';
1917
```
2018

2119
Pass a ```contextId```, and an array of menu items with labels, onClick functions, and optional icon paths -- like so:

0 commit comments

Comments
 (0)