esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 76 forks source link

Replace deprecated usages of React.PropTypes #71

Closed leoskyrocker closed 6 years ago

leoskyrocker commented 6 years ago

Fixes https://github.com/esbenp/react-native-clean-form/issues/70.

There's a previous attempt from PR https://github.com/esbenp/react-native-clean-form/pull/69. However, the fix is incomplete. This PR is a superset of the previous PR:

Replaced React.PropTypes with PropTypes from the prop-types package to support React 16 and higher.

leoskyrocker commented 6 years ago

Please help review and merge @markusguenther @esbenp, thanks!

esbenp commented 6 years ago

Thanks :-)