Open claire-kz opened 7 years ago
Getting console warning: 'Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.'
In React 15.5+, there's an external prop-types package. More here: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
prop-types
Warning is being thrown from accessing of PropTypes in index.js on line 32.
index.js
As you can see this lib do not have any proptypes so it is not from this repo. https://github.com/kimmobrunfeldt/react-progressbar.js/blob/master/dist/react-progressbar.js
Getting console warning: 'Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.'
In React 15.5+, there's an external
prop-types
package. More here: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypesWarning is being thrown from accessing of PropTypes in
index.js
on line 32.