We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting the following error in React Native 0.51.0 undefined is not an object (evaluating '_react2.PropTypes.string')
undefined is not an object (evaluating '_react2.PropTypes.string')
I have managed to find a fix by removing the PropTypes import from react, and replacing it with import PropTypes from 'prop-types';.
import PropTypes from 'prop-types';
Submitting a PR for review.
The text was updated successfully, but these errors were encountered:
Linking to the pull request that OP made #36
Sorry, something went wrong.
Thanks Anti- I ran into the same error and I fixed the same way you did.
No branches or pull requests
Getting the following error in React Native 0.51.0
undefined is not an object (evaluating '_react2.PropTypes.string')
I have managed to find a fix by removing the PropTypes import from react, and replacing it with
import PropTypes from 'prop-types';
.Submitting a PR for review.
The text was updated successfully, but these errors were encountered: