react-native-snap-carousel
react-native-snap-carousel copied to clipboard
Replace PropTypes usage with deprecated-react-native-prop-types
Platforms affected
None, this PR addresses a deprecation warning related to the use of PropTypes
.
What does this PR do?
This PR updates the codebase to replace the usage of PropTypes
with the deprecated-react-native-prop-types
package. The goal is to resolve the deprecation warning related to ViewPropTypes
and align with the recommended migration away from PropTypes
in React Native.
What testing has been done on this change?
This change has been tested locally to ensure that the deprecation warning no longer occurs. Additionally, the application has been tested to verify that the functionality of the react-native-snap-carousel
library remains unaffected.
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
/FlatList
carousels (propuseScrollView
) - [x] Callback methods
- [x]
ParallaxImage
component - [x]
Pagination
component - [x] Layouts and custom interpolations
Additional Notes
Ensure that the changes do not introduce any regressions and that the library's features remain fully functional.
This PR is in response to the deprecation warning mentioned here. The replacement of PropTypes
is a step toward compatibility with the evolving standards in React Native.
Please review and provide feedback. Thank you!
hey..
hi, some news about this PR?
hi, some news about this PR?
Hello MaiconLeffa, I appreciate your patience. I've thoroughly tested the changes and addressed any feedback received. The pull request is still in progress, and I'll continue to keep you updated on any further developments. Please feel free to reach out if you have any specific questions or concerns. Thank you once again for your interest and support!
hello,When will the merger begin?