-
Notifications
You must be signed in to change notification settings - Fork 624
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 to set current page? #35
Comments
Hi, You can pass the page number from url to ReactPaginate with prop <ReactPaginate
previousLabel={"previous"}
nextLabel={"next"}
initialSelected={6}
clickCallback={this.handlePageClick} /> |
Ok thanks |
can't set this from props... |
@maxfarseer I have the same issue. Did you find a workaround ? |
@younes0 no :( |
Which version of react-paginate do you use? |
2.1.1 |
You can use |
Also, make sure that your prop is parsed as int 😄 |
Let say I was typing directly in the urlbar to page 6, how I am supposed to pass this page number to ReactPaginate? Because it is always start at 1
The text was updated successfully, but these errors were encountered: