the issue is that PropTypes is now a library. Instead of using React.PropTypes.[type] you should import PropTypes and use it directly
the issue is that PropTypes is now a library.
Instead of using React.PropTypes.[type]
you should import PropTypes and use it directly