-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
How can i get current page #1199
Comments
@vietmaki you can use props called on "onChangeTab" which is function called when tab is changed,it accept object argument if you console it ,it will be like eg. {"from": 0, "i": 1, "ref": favorite}, so key "i" represents index of current page, you can handle next prev page with "i". hope this will help to solve your problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want use Next and Prev button, how can i get current page to next or pre page
Thanks!
The text was updated successfully, but these errors were encountered: