prop-types
https://github.com/facebook/prop-types
JavaScript
Runtime type checking for React props and similar objects
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported1 Subscribers
Add a CodeTriage badge to prop-types
Help out
- Issues
- Export createChainableTypeChecker?
- Better error message when child context returns undefined
- Access property type for documentation purposes at run time
- Specify Valid Children Component Types
- Add support of `instanceOf` for functional components or create new `componentOf` check
- null props considered differently in getDefaultProps vs. isRequired
- Environment testers
- mapOf and setOf validators
- disallow null
- Improve PropTypes.shape warning
- Docs
- JavaScript not yet supported