This package has been deprecated

Author message:

maintenance issues

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

0.2.23 • Public • Published

Paginate Component

Use this component to show the pagination in your application

Installation

npm install --save @tourepedia/paginate

Usage

import Paginate from "@tourepedia/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>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @tourepedia/paginate

Weekly Downloads

27

Version

0.2.23

License

MIT

Unpacked Size

18.4 kB

Total Files

10

Last publish

Collaborators

  • sudkumar