Skip to content

Commit ee1d1e7

Browse files
committed
readme
1 parent 7c5f23a commit ee1d1e7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ Pass a ```contextId```, and an array of menu items with labels, onClick function
2323
```
2424

2525
The ```contextId``` 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.
26-
27-
By default, when you right click an element, the ```event.target``` is stored in state and is passed to the menu item functions. This can be useful for DOM manipulation -- for instance, removing an element from the DOM via a "delete" function passed to ```ContextMenu```'s props.

0 commit comments

Comments
 (0)