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

Remove the deprecated PropTypes and use the new one #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove the deprecated PropTypes and use the new one #11

wants to merge 1 commit into from

Conversation

vagnercsouza
Copy link

On React v15.15, the built-in PropTypes is deprecated. If this lib is used on this version of React, a warning is shown on console. To solve that, I moved from the built-in PropTypes to the prop-types library, as described on https://facebook.github.io/react/warnings/dont-call-proptypes.html

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

Successfully merging this pull request may close these issues.

1 participant