Pagination
Pagination is used for splitting data up into multiple pages.
onNext
onPrevious
onSelectPage
Props
Name | Type | Default | Description |
---|---|---|---|
currentPage | number | The currently active page | |
totalPages | number | The total number of pages to show pagination for | |
onNext | function | Invoked when the next button is clicked. | |
onPrevious | function | Invoked when the next button is clicked. | |
onSelectPage | function | Invoked when a page number is selected. | |
nextLabel | string | Next | The next button label. |
previousLabel | string | Previous | The previous button label. |