0.4.8 • Published 3 years ago

@gladio/paginate v0.4.8

Weekly downloads
26
License
MIT
Repository
github
Last release
3 years ago

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>
  )
}
0.4.8

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.5

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

4 years ago