Type definitions are available in the @types/prop-types package

prop-types

  • Version 15.8.1
  • Published
  • 94.5 kB
  • 3 dependencies
  • MIT license

Install

npm i prop-types
yarn add prop-types
pnpm add prop-types

Overview

Runtime type checking for React props and similar objects.

Dependencies (3)

Dev Dependencies (10)

Peer Dependencies (0)

No peer dependencies.

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/prop-types.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/prop-types)
  • HTML
    <a href="https://www.jsdocs.io/package/prop-types"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>