Components
Pagination
Props

PaginationProps

Hierarchy

  • ComponentPropsWithoutRef<"div">

    PaginationProps

Properties

loading

Optional loading: boolean


onPageChange

Optional onPageChange: (page: number, type: "next" | "prev" | "selection") => void

Type declaration

▸ (page, type): void

Parameters
NameType
pagenumber
type"next" | "prev" | "selection"
Returns

void


onSizeChange

Optional onSizeChange: (size: number) => void

Type declaration

▸ (size): void

Parameters
NameType
sizenumber
Returns

void


page

page: number


size

size: number


sizeOptions

Optional sizeOptions: number[]


total

total: number