@bryandbor/react-redux-pagination
v0.0.3
Published
Simple react pagination higher-order component using Redux with Redux state management
Downloads
2
Readme
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);