react-native-snap-carousel
react-native-snap-carousel copied to clipboard
Bugfix: ViewPropTypes import location fix for 0.69.0+
Platforms affected
- IOS
- Android
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
- [ X ] Default setup (example)
- [ X ] Carousels with and without momentum enabled (prop
enableMomentum) - [ X ] Vertical carousels (prop
vertical) - [ X ] Slide alignment (prop
activeSlideAlignment) - [ X ] Autoplay (prop
autoplay) - [ X ] Loop mode (prop
loop) - [ X ]
ScrollView/FlatListcarousels (propuseScrollView) - [ X ] Callback methods
- [ X ]
ParallaxImagecomponent - [ X ]
Paginationcomponent - [ X ] Layouts and custom interpolations