Pagination
Navigate multi-page lists and tables
Preview
Page 1 of 8
Props
page
Current page number
totalPages
Total number of pages
siblingCount
Pages shown on each side of current page
Code
<Pagination
page={page}
totalPages={8}
siblingCount={1}
onPageChange={setPage}
/>