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

Allow custom page transition animation properties #32

Merged
merged 11 commits into from
Jan 26, 2016

Conversation

christopherabouabdo
Copy link
Contributor

Resolves issue #31 by adding an animation property to ViewPager which accepts a function that returns a React Native Animated configuration.

I also added in a bit of code to send the current page index to the renderPage function as a third property. This has been very helpful in my project, I'm open to discussion about leaving that in or taking it out, what do you think?

race604 added a commit that referenced this pull request Jan 26, 2016
Allow custom page transition animation properties
@race604 race604 merged commit 2306498 into race604:master Jan 26, 2016
@race604
Copy link
Owner

race604 commented Jan 26, 2016

Thank you for this PR.
And I opened a new issue to discuss about the 'renderPage()' here #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants