dohooo / react-native-reanimated-carousel

🎠 React Native swiper/carousel component, fully implemented using reanimated v2, support to iOS/Android/Web. (Swiper/Carousel)
https://react-native-reanimated-carousel.vercel.app
MIT License
2.85k stars 329 forks source link

feat: add index parameter to customAnimation #709

Open 3000-2 opened 1 month ago

3000-2 commented 1 month ago

Description

This PR updates the customAnimation function signature to include an index parameter, allowing users to apply custom animations based on the item’s index.

Example

https://github.com/user-attachments/assets/388f5f4b-84d7-4aec-ba25-a9069ff06fb9

Review

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 8dc951607dc4474c36b6ad19a535249dd8c994da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-reanimated-carousel ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 11:55am