Name Description Size Coverage
checkPropTypes.js Assert that the values match with the type specs. Error messages are memorized and will only be shown once. @param {object} typeSpecs Map of name to a ReactPropType @param {object} values Runtime values that need to be type-checked @param {string} location e.g. "prop", "context", "child context" @param {string} componentName Name of the component for error messages. @param {?Function} getStack Returns the component stack. @private 3781 -
factory.js 768 -
factoryWithThrowingShims.js 1621 -
factoryWithTypeCheckers.js global Symbol 21563 -
index.js 710 -
lib -
LICENSE 1080 -
package.json 1586 -
prop-types.js Assert that the values match with the type specs. Error messages are memorized and will only be shown once. @param {object} typeSpecs Map of name to a ReactPropType @param {object} values Runtime values that need to be type-checked @param {string} location e.g. "prop", "context", "child context" @param {string} componentName Name of the component for error messages. @param {?Function} getStack Returns the component stack. @private 47744 -
prop-types.min.js 1763 -