Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add index parameter to customAnimation #709

Closed
wants to merge 2 commits into from
Closed

Conversation

3000-2
Copy link

@3000-2 3000-2 commented Oct 23, 2024

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

Simulator.Screen.Recording.-.iPhone.15.Plus.-.2024-10-23.at.21.43.34.mp4

Review

  • I self-reviewed this PR

Copy link

changeset-bot bot commented Oct 23, 2024

⚠️ No Changeset found

Latest commit: 8dc9516

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

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 23, 2024
Copy link

vercel bot commented Oct 23, 2024

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

@3000-2 3000-2 changed the title Allow custom animations based on index value feat: add index parameter to customAnimation Oct 24, 2024
@dohooo
Copy link
Owner

dohooo commented Nov 29, 2024

Could you resolve the conflicts and add a simple usage case for this change? For instance, a new demo to illustrate the scenario where this argument is needed. I would greatly appreciate it!

I've addressed these and added tests in another PR. I'll add credits for you, thanks! #735

@dohooo dohooo closed this Nov 29, 2024
dohooo added a commit that referenced this pull request Nov 29, 2024
<!-- Is this PR related to an open issue? -->
<!-- GitHub: Fixes #0, Relates to #1, etc. -->

### Description

<!-- Summary of changes and why if no corresponding issue -->
#709

### Review

- [ ] I self-reviewed this PR

<!-- Call out any changes that you'd like people to review or feedback on -->

### Testing

- [ ] I added/updated tests
- [ ] I manually tested

<!-- Describe any manual testing -->
@dohooo
Copy link
Owner

dohooo commented Nov 29, 2024

released #736

@3000-2
Copy link
Author

3000-2 commented Jan 20, 2025

Could you resolve the conflicts and add a simple usage case for this change? For instance, a new demo to illustrate the scenario where this argument is needed. I would greatly appreciate it!

I've addressed these and added tests in another PR. I'll add credits for you, thanks! #735

Sorry for the late response, and thank you for taking care of this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants