meliorence / react-native-snap-carousel

Swiper/carousel component for React Native featuring previews, multiple layouts, parallax images, performant handling of huge numbers of items, and more. Compatible with Android & iOS.
BSD 3-Clause "New" or "Revised" License
10.37k stars 2.29k forks source link

Bugfix: ViewPropTypes import location fix for 0.69.0+ #955

Open lfabl opened 2 years ago

lfabl commented 2 years ago

Platforms affected

What does this PR do?

In React-Native 0.69.0 and above, ViewPropTypes and others are no longer supported. They recommend the deprecated-react-native-prop-types library as a solution for libraries that use it.

What testing has been done on this change?

I opened a fork for myself. It worked successfully when I tested it. ( This is not a big change. Therefore, there is no need for a hard test. )

Tested features checklist