React Redux Pagination
Simple pagination for React-Redux applications
Install
npm install --save @bryandbor/react-redux-pagination
Usage
import {withPagination} from '@bryandbor/react-redux-pagination';
const MyPaginatedComponent = ({page, perpage, cuunt, collection, setPage, setPerPage}) => {
return ( ... );
};
export default withPagination(MypaginatedComponent);