# krc-pagination

> Kraken react controls - pagation

Latest version **1.0.1** (published 2020-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install krc-pagination
pnpm add krc-pagination
yarn add krc-pagination
bun add krc-pagination
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-02-09 |
| First published | 2020-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Duy Luong Phung |
| Maintainers | luonguit |
| Keywords | reactjs, controls, control, kraken, kraken-team, kraken team, krc, krc-pagination, pagination, paging |

## Links

- npm: https://www.npmjs.com/package/krc-pagination
- Repository: https://github.com/DuyLuongPhung/krc-pagination
- Homepage: https://github.com/DuyLuongPhung/krc-pagination#readme
- Issues: https://github.com/DuyLuongPhung/krc-pagination/issues
- npm.io page: https://npm.io/package/krc-pagination

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-02-09
- 1.0.0 — 2020-02-09

## README

# krc-pagination

ReactJS controls: Pagination by Kraken team!

[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url]

[npm-image]: http://img.shields.io/npm/v/krc-pagination.svg?style=flat-square
[npm-url]: http://npmjs.org/package/krc-pagination
[download-image]: https://img.shields.io/npm/dm/krc-pagination.svg?style=flat-square
[download-url]: https://npmjs.org/package/krc-pagination

## install

[![krc-pagination](https://nodei.co/npm/krc-pagination.png)](https://npmjs.org/package/krc-pagination)

# HOW IT WORKS

### install package

```
npm install --save krc-pagination
```

### import styles

```
import 'krc-pagination/styles.css';
```

### usage

```
   import { Pagination } from "krc-pagination";
   import 'krc-pagination/styles.css';

   onPageChanged = e => {
      console.log(e.currentPage);
   };

   <Pagination
              totalRecords={totalRecords}
              pageLimit={1}
              pageNeighbours={1}
              onPageChanged={onPageChanged}
            />
```

# API references

### Properties

| Name           | Type     | Default | Description                   |
| -------------- | -------- | ------- | ----------------------------- |
| totalRecords   | number   | 0       | List view title               |
| pageLimit      | number   | 1       | Limit items count per page    |
| pageNeighbours | number   | 1       | View neighbour item           |
| onPageChanged  | Function | null    | On page select change handler |

# License

krc-pagination is released under the MIT license.

---
_Source: https://npm.io/package/krc-pagination · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
