ndla-pager

0.2.2 • Public • Published

ndla-pager

A pager component.

Installation

$ yarn add ndla-pager
$ npm install ndla-pager

Usage

Styling

Uses Emotion. See for ssr.

Basic example

<Pager page={2} lastPage={4} query={{ term: 'Medier' }} pathname="#" />

Example with custom component

<Pager
  page={1}
  lastPage={3}
  query={{ term: 'Medier' }}
  pageItemComponentClass="button"
  pathname="#"
/>

Readme

Keywords

Package Sidebar

Install

npm i ndla-pager

Weekly Downloads

0

Version

0.2.2

License

GPL-3.0

Unpacked Size

22.2 kB

Total Files

13

Last publish

Collaborators

  • oyvinmar