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

Warning: Accessing PropTypes #9

Closed
epotockiy opened this issue Jun 8, 2017 · 2 comments · Fixed by #10
Closed

Warning: Accessing PropTypes #9

epotockiy opened this issue Jun 8, 2017 · 2 comments · Fixed by #10

Comments

@epotockiy
Copy link
Contributor

I get a warning

Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

I checked all my components and figured out that error occurred after adding this accordion component.

Could you fix this?

@thibaudcolas
Copy link
Contributor

Thanks for the report @epotockiy, this is because this component hasn't been migrated to support React 15.5 and above yet.

We will get to it when we need it (the component still works the same, it's just a warning), if you need this soon could you make a pull request with the upgrade? I'm more than happy to help you along the way if you're up for it.

@vincentaudebert
Copy link
Contributor

@epotockiy This is now fixed in 0.4.0. Thanks :)

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

Successfully merging a pull request may close this issue.

3 participants