Created
November 11, 2021 20:23
-
-
Save PavlikPolivka/0365673d97a56036d428e1a6b9e822f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ReactPaginate | |
previousLabel={'<'} | |
nextLabel={'>'} | |
breakLabel={'...'} | |
breakClassName={'break-me'} | |
activeClassName={'active'} | |
containerClassName={'pagination'} | |
subContainerClassName={'pages pagination'} | |
initialPage={props.currentPage - 1} | |
pageCount={props.pageCount} | |
marginPagesDisplayed={2} | |
pageRangeDisplayed={5} | |
onPageChange={paginationHandler} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment