Pagination

import { Pagination } from '@hanzo/ui/product'

No examples yet.

Types

export type PaginationProps = {
/** Current page, 1-based. */
page: number
/** Total pages. 1 or 0 renders nothing — there is nowhere to go. */
count: number
onChange: (page: number) => void
/** Neighbours flanking the current page. Default 1. */
around?: number
}

Exports

Paginationtype PaginationProps