Skip to content

Instantly share code, notes, and snippets.

@PavlikPolivka
Created November 11, 2021 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PavlikPolivka/0365673d97a56036d428e1a6b9e822f3 to your computer and use it in GitHub Desktop.
Save PavlikPolivka/0365673d97a56036d428e1a6b9e822f3 to your computer and use it in GitHub Desktop.
<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