524 Contributors: 17 Tuesday, July 18, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial:
Roadmap: roadmap

Props in React


NOTE: As of React 15.5 and up the PropTypes component lives in its own npm package, namely 'prop-types' and needs its own import statement when using PropTypes. See the official react documentation for the breaking change:

Related Examples