Socket
Book a DemoInstallSign in
Socket

@ndla/pager

Package Overview
Dependencies
Maintainers
8
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/pager

Pager component for NDLA

latest
Source
npmnpm
Version
5.0.50-alpha.0
Version published
Maintainers
8
Created
Source

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="#" />

Keywords

ndla

FAQs

Package last updated on 31 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts