0.0.8 • Published 1 year ago

react-url-paginate v0.0.8

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

react-url-paginate · npm version

paginate-ezgif com-video-to-gif-converter

Paginate With react-router-dom

install

npm install react-router-dom
npm install react-url-paginate

Examples

import * as router from "react-router-dom";
import { Paginate } from "react-url-paginate";

function Example() {
  return (
    <Paginate
      prevLabel={"< 이전"}
      nextLabel={"다음 >"}
      total={100}
      pageItems={20}
      router={router}
    />
  );
}

Props

NameTypeDescription
prevLabelStringText label for the previous button.
nextLabelStringText label for the next button.
totalNumberputs the total number of data.
pageItemsNumberthe number of data to show per page.
routerObjectput the react-router-dom object in.