react-paginationer

1.0.4 • Public • Published

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>

Package Sidebar

Install

npm i react-paginationer

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

178 kB

Total Files

24

Last publish

Collaborators

  • kjkta