1.0.4 • Published 6 years ago

react-paginationer v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Install

yarn add react-paginationer

Use

import Pagination from "react-paginationer";

<Pagination items={props.articles} itemsPerPage={10}>
  {({
    currentPageItems,
    currentPageNumber,
    totalPagesCount,
    hasNextPage,
    hasPrevPage,
    goToNextPage,
    goToPrevPage
  }) => {
    return (
      // Your UI
    );
  }}
</Pagination>