3.1.3 • Published 4 years ago

@lendi-ui/pagination v3.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

@lendi-ui/pagination

A pagination component.

Installation

yarn add @lendi-ui/pagination

Usage

import Pagination from '@lendi-ui/pagination';

<Pagination totalPages={10} currentPage={1} visiablePages={7} handleChange={() => {}} handleClick={() => {}} />;

## Properties

<PropTable>
  <PropTable.Entry name="currentPage" type="number" defaultValue="1" description="The current page that selected"/>
  <PropTable.Entry name="handleChange" type="(number) => void" description="Handle Chevron Icon button clicking event"/>
  <PropTable.Entry name="handleClick" type="(number) => void" description="Handle Page button clicking event"/>
  <PropTable.Entry name="totalPages" required type="number" description="The total number of pages that needed"/>
  <PropTable.Entry name="visiblePages" type="number" defaultValue="7" description="The total visible page button"/>
</PropTable>
3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

4.0.0-beta.0

4 years ago

3.0.1

5 years ago

3.0.0

5 years ago

3.0.0-alpha

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago