React pagination component
$ yarn add react-paginacion_eliecerc
OR
$ npm i react-paginacion_eliecerc --save
*required:
onChangePage - Callback handler for page changes that returns the index of the selected page.
totalItems - Total amount of items.
not required:
activePage - Current selected page - default: 1
visiblePages - Amount of visible pages for selection - default: 10
itemsPerPage - Amount of items per page - default: 50
nextTitle - Title for next button - default: "Next"
prevTitle - Title for previous button - default: "Previous"
This package is for personal use. If you find it useful feel free to install it in your project.