maxs15 / react-native-spinkit

A collection of animated loading indicators for React Native
MIT License
2.36k stars 300 forks source link

Warning: PropTypes has been moved to a separate package. #74

Closed agersoncgps closed 7 years ago

agersoncgps commented 7 years ago

I am getting these three warning after upgraded to rn v46.

Warning: PropTypes has been moved to a separate package. Accessing React.PropTypes is no longer supported and will be removed completely in React 16. Use the prop-types package on npm instead. (https://fb.me/migrating-from-react-proptypes)

Warning: React.createClass is no longer supported. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

Warning: View.propTypes has been deprecated and will be removed in a future version of ReactNative. Use ViewPropTypes instead.

ahmed3mar commented 7 years ago

Try

yarn add maxs15/react-native-spinkit

maxs15 commented 7 years ago

The issue has been fixed. Thanks