vkbansal / react-contextmenu

Project is no longer maintained
MIT License
1.4k stars 375 forks source link

Improve connectMenu type #318

Closed FraserWaters-GR closed 4 years ago

FraserWaters-GR commented 4 years ago

Changed connectMenu type to specify that the function deals with React components, not just any

Also replaced use of ReactType with ElementType (ReactType is deprecated)