Skip to content

kjkta/react-paginationer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Paginate anything in any way with functionized React children

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published