cht8687 / react-hover

React hover --- make hover easy http://cht8687.github.io/react-hover/example/
MIT License
107 stars 25 forks source link

PropTypes via the main React package is now deprecated #10

Closed mlalibs closed 7 years ago

mlalibs commented 7 years ago

Using PropTypes via the main React package is deprecated. Instead, import the prop-types package from npm. Affects ReactHover.js, lib/Hover.js and lib/Trigger.js.

Console Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

cht8687 commented 7 years ago

thanks. @marclaliberte

cht8687 commented 7 years ago

fixed in https://github.com/cht8687/react-hover/releases/tag/1.1.0