Pagination
A component to navigate through paginated content.
Usage
Demonstration
Props
onChange
onChange
Gets called when the selected page changes. Takes the new index as a unique parameter.
pages
pages
The total amount of pages.
selected
selected
The currently selected page (zero based numbering).
touchMode
touchMode
When true
, adapts the component to touch screens by making the targets bigge
Last updated