Does not works with React 16.x.x because PropTypes has been removed from React 16 above.
nuhbye opened this issue · 3 comments
nuhbye commented
Here is the link to more info: https://reactjs.org/warnings/dont-call-proptypes.html
hironarita commented
There's a pending pull request to fix this issue #56
kylegoetz commented
I suppose it's never getting fixed.
siva-444 commented
try that
import PropTypes from 'prop-types';