Pagination


Examples


margin
Learn More
currentPage
number
Programatically sets the current page number
pages
number
Required
The total number of pages
pageRange
number
Required
The number of page buttons to display. Odd numbers look better.
onChange
function
default: (index) => void
Callback for when the page is changed
marginsHidden
bool
Hides first and last buttons