Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update broken PropTypes #4

Open
arielwb opened this issue Jun 19, 2018 · 1 comment
Open

Update broken PropTypes #4

arielwb opened this issue Jun 19, 2018 · 1 comment

Comments

@arielwb
Copy link

arielwb commented Jun 19, 2018

Hello!

I was trying to use your package, but it throws an arror on import.
I dig a little the source code, and in fact, you are trying to use PropTypes from react,
but sinse v15.5 it has moved:

Note:
React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead.
We provide a codemod script to automate the conversion.

source: https://reactjs.org/docs/typechecking-with-proptypes.html

;))

@josiahstapleton
Copy link

Same issue here. Is this package still maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants