@gladio/paginate
TypeScript icon, indicating that this package has built-in type declarations

0.4.8 • Public • Published

Paginate Component

Use this component to show the pagination in your application

Installation

npm install --save @gladio/paginate

Usage

import Paginate from "@gladio/paginate"

function App(props) {
  return (
    <div>
      <Paginate
        total={props.total}
        from={props.from}
        to={props.to}
        currentPage={props.currentPage}
        lastPage={props.lastPage}
        isFetching={props.isFetchin}
        onChange={page => props.fetch({ page })}
      />
    </div>
  )
}

/@gladio/paginate/

    Package Sidebar

    Install

    npm i @gladio/paginate

    Weekly Downloads

    1

    Version

    0.4.8

    License

    MIT

    Unpacked Size

    22.5 kB

    Total Files

    11

    Last publish

    Collaborators

    • sudkumar