Skip to content

EliecerC/react-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-pagination_eliecerc

React pagination component

Install React Pagination as a dependency

$ yarn add react-paginacion_eliecerc

OR

$ npm i react-paginacion_eliecerc --save

Props

*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"

Notes

This package is for personal use. If you find it useful feel free to install it in your project.

About

Simple pagination component build with React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published