JSPM

  • Created
  • Published
  • Downloads 32477701
  • Score
    100M100P100Q221807F
  • License BSD-3-Clause

Runtime type checking for React props and similar objects.

Package Exports

  • prop-types
  • prop-types/checkPropTypes
  • prop-types/factory
  • prop-types/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prop-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

prop-types

Runtime type checking for React props and similar objects.

Installation

npm install --save prop-types

Importing

import PropTypes from 'prop-types'; // ES6
var PropTypes = require('prop-types'); // ES5 with npm

If you prefer a