mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
react@16 did away with PropTypes; require prop-types instead
Summary: react@16 (a peerDependency) did away with the PropTypes export in favor of the prop-types module. This updates all of the remaining references to `React.PropTypes`. Closes https://github.com/facebook/react-native/pull/14641 Differential Revision: D5287167 Pulled By: javache fbshipit-source-id: a917e29aa0e5470260568995dfe97f5528ec265e
This commit is contained in:
committed by
Hector Ramos
parent
708f1cf5a2
commit
e76eb32058