react-native-hr icon indicating copy to clipboard operation
react-native-hr copied to clipboard

PropTypes has been moved in React v16

Open carlost opened this issue 7 years ago • 2 comments

Starting with react v15.5 the use of React.PropTypes resulted in a deprecation warning. in v16 that module was moved to the prop-types package. This is causing react-native-hr to fail:

TypeErr: Cannot read property 'string' of undefined

React has scripts that can be used to update the source for this package: https://github.com/reactjs/react-codemod. although that is probably unnecessary because the change is pretty minor.

carlost avatar Oct 02 '17 15:10 carlost

i just noticed that there are two open PRs to address this #12 and #11

carlost avatar Oct 02 '17 16:10 carlost

Why is this not being merged?

nenti avatar May 15 '18 18:05 nenti