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
- Check null, undefined, NaN
- Documentation about custom validators calling other validators
- Proptypes killswitch / error suppression
- Intersection types
- Downgrade deprecation error to warning
- Custom component detection prop validation
- Ability to extend a PropTypes shape
- Add Disabled or None type
- Should the error message for directly calling validator functions be removed in production mode?
- Default Proptypes : Not able to set default prop value for object's property(s) if property is not defined
- Docs
- JavaScript not yet supported