1
- # Project is no longer maintained
2
-
3
1
[ ![ NPM version] [ npm-image ]] [ npm-url ]
4
2
[ ![ Build Status] [ travis-image ]] [ travis-url ]
5
3
[ ![ Dependency Status] [ deps-image ]] [ deps-url ]
12
10
13
11
ContextMenu in React with accessibility support. Live Examples can be found [ here] ( //vkbansal.github.io/react-contextmenu/ )
14
12
13
+ ## Fork-INFO
14
+
15
+ This is just a fork of vkbansal/react-contextmenu.
16
+ Because this project is no longer maintained we forked it to solve a react peer dependency issue.
17
+ Thanks to [ vkbansal] ( https://github.com/vkbansal ) this his work!
18
+
15
19
## Table of contents
16
20
17
- - [ Installation] ( #installation )
18
- - [ Browser Support] ( #browser-support )
19
- - [ Usage] ( #usage )
20
- - [ API] ( #api )
21
- - [ FAQs] ( #faqs )
22
- - [ Contributors] ( #contributors )
23
- - [ Changelog] ( #changelog )
24
- - [ License] ( #license )
21
+ - [ Installation] ( #installation )
22
+ - [ Browser Support] ( #browser-support )
23
+ - [ Usage] ( #usage )
24
+ - [ API] ( #api )
25
+ - [ FAQs] ( #faqs )
26
+ - [ Contributors] ( #contributors )
27
+ - [ Changelog] ( #changelog )
28
+ - [ License] ( #license )
25
29
26
30
## Installation
27
31
@@ -38,6 +42,7 @@ yarn add react-contextmenu
38
42
```
39
43
40
44
## Browser Support
45
+
41
46
- IE 11 and Edge >= 12
42
47
- FireFox >= 38
43
48
- Chrome >= 47
@@ -68,23 +73,22 @@ function MyApp() {
68
73
< / ContextMenuTrigger>
69
74
70
75
< ContextMenu id= " same_unique_identifier" >
71
- < MenuItem data= {{foo: ' bar' }} onClick= {this .handleClick }>
76
+ < MenuItem data= {{ foo: " bar" }} onClick= {this .handleClick }>
72
77
ContextMenu Item 1
73
78
< / MenuItem>
74
- < MenuItem data= {{foo: ' bar' }} onClick= {this .handleClick }>
79
+ < MenuItem data= {{ foo: " bar" }} onClick= {this .handleClick }>
75
80
ContextMenu Item 2
76
81
< / MenuItem>
77
82
< MenuItem divider / >
78
- < MenuItem data= {{foo: ' bar' }} onClick= {this .handleClick }>
83
+ < MenuItem data= {{ foo: " bar" }} onClick= {this .handleClick }>
79
84
ContextMenu Item 3
80
85
< / MenuItem>
81
86
< / ContextMenu>
82
-
83
87
< / div>
84
88
);
85
89
}
86
90
87
- ReactDOM .render (< MyApp myProp= {12 }/ > , document .getElementById (" main" ));
91
+ ReactDOM .render (< MyApp myProp= {12 } / > , document .getElementById (" main" ));
88
92
```
89
93
90
94
see [ usage docs] ( ./docs/usage.md ) / [ examples] ( ./examples ) for more details.
@@ -98,6 +102,7 @@ see [usage docs](./docs/usage.md) / [examples](./examples) for more details.
98
102
[ ALL FAQs] ( ./docs/faq.md )
99
103
100
104
## Who's using react-contextmenu?
105
+
101
106
- [ react-data-grid] ( https://github.com/adazzle/react-data-grid )
102
107
- [ teamup.com] ( https://teamup.com )
103
108
- [ Spotify Web Player] ( https://open.spotify.com )
@@ -116,15 +121,11 @@ For Changelog, see [releases](https://github.com/vkbansal/react-contextmenu/rele
116
121
117
122
[ npm-url ] : https://npmjs.org/package/react-contextmenu
118
123
[ npm-image ] : http://img.shields.io/npm/v/react-contextmenu.svg?style=flat-square
119
-
120
124
[ travis-url ] : https://travis-ci.org/vkbansal/react-contextmenu
121
125
[ travis-image ] : http://img.shields.io/travis/vkbansal/react-contextmenu/master.svg?style=flat-square
122
-
123
126
[ deps-url ] : https://david-dm.org/vkbansal/react-contextmenu
124
127
[ deps-image ] : https://img.shields.io/david/vkbansal/react-contextmenu.svg?style=flat-square
125
-
126
128
[ dev-deps-url ] : https://david-dm.org/vkbansal/react-contextmenu
127
129
[ dev-deps-image ] : https://img.shields.io/david/dev/vkbansal/react-contextmenu.svg?style=flat-square
128
-
129
130
[ climate-url ] : https://codeclimate.com/github/vkbansal/react-contextmenu
130
131
[ climate-image ] : http://img.shields.io/codeclimate/github/vkbansal/react-contextmenu.svg?style=flat-square
0 commit comments