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

in React 16, PropTypes will not be supported #184

Closed
kidmysoul opened this issue Sep 23, 2017 · 2 comments
Closed

in React 16, PropTypes will not be supported #184

kidmysoul opened this issue Sep 23, 2017 · 2 comments

Comments

@kidmysoul
Copy link

the error occured at bannerSize: React.PropTypes.string,

when you create a new react native app, the package.json will be like
"dependencies": { "react": "16.0.0-alpha.12", "react-native": "0.48.3",
.....................

so cannot use this library.

@kidmysoul
Copy link
Author

OK, I solved it by npm install react@16.0.0-alpha.12

the same issue

@koenpunt
Copy link
Collaborator

koenpunt commented Sep 28, 2017

For React 16 support I recommend using the 2.0.0 version, currently being developed in #165

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