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
elementType
See facebook/prop-types#211
We should use it instead of PropType.func in most places.
PropType.func
The text was updated successfully, but these errors were encountered:
I'm going to start working on this if that's cool :)
Sorry, something went wrong.
@sindresorhus can you think of any instances where PropTypes.func should NOT be replaced with elementType?
Replace PropTypes.func with PropTypes.elementType (#640)
7d1dd19
Closes #633
Successfully merging a pull request may close this issue.
See facebook/prop-types#211
We should use it instead of
PropType.func
in most places.The text was updated successfully, but these errors were encountered: