-
Notifications
You must be signed in to change notification settings - Fork 180
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
Replace 'skip' button with 'previous' button #95
Comments
Please translate your question from Russian into English: https://www.deepl.com/translator |
Is it possible to add a "prev" button? |
Not 100% sure, but you may try to set goPev = () => {
this.flatList.scrollToIndex({
animated: true,
index:
I18nManager.isRTL && Platform.OS == 'ios'
? this.state.currentPage + 1
: this.state.currentPage - 1,
});
}; Otherwise, fork the repo change the skip handling there. |
did anyone find the solution to replace skip into prev btn? |
You can use
where Skip is your react component. then define Skip as
my snippet is a custom component but you should get an idea! and finally you have to attach a state to this state is controlled via the "pageIndexCallback"! when pageIndexCallback return 1 set showSkipState to false! else true. |
Please answer me, ty
The text was updated successfully, but these errors were encountered: