@instructure/ui-pagination

A UI component library made by Instructure Inc.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@instructure/ui-pagination
398148.32.12 days ago5 years agoMinified + gzip package size for @instructure/ui-pagination in KB

Readme

---

category: packages

ui-pagination

!npmnpmnpm-url  !MIT Licenselicense-badgelicense  !Code of Conductcoc-badgecoc

Components

The ui-pagination package contains the following:

Installation

yarn add @instructure/ui-pagination

Usage

import React from 'react'
import { Pagination } from '@instructure/ui-pagination'

const MyPagination = () => {
  return (
    <Pagination>
      <Pagination.Page current>1</Pagination.Page>
      <Pagination.Page>2</Pagination.Page>
      <Pagination.Page>3</Pagination.Page>
    </Pagination>
  )
}