pandiaraj44 / react-native-datepicker-dialog

This library provides the cross-platform components for to open the date picker dialogs in effective way. It uses the native DatePickerAndroid & DatePickerIOS components. It will work for both ios & android.
MIT License
44 stars 15 forks source link

fix deprecation for react v15.5.0: https://reactjs.org/blog/2017/04/0… #10

Closed JiboStore closed 6 years ago

JiboStore commented 6 years ago

The new React Native v15.5.0 put in warnings for code that will break in v16. One of it is the usage of PropTypes which will then be put inside 'prop-types' package

This pull request import the package correctly for ReactNative v15.5.0 onwards

See: https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes

pandiaraj44 commented 6 years ago

Thanks @JiboStore