Package Exports
- @instructure/ui-pagination
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@instructure/ui-pagination) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
category: packages
ui-pagination
Components
The ui-pagination package contains the following:
Installation
yarn add @instructure/ui-paginationUsage
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>
)
}