Components
Pagination
Props

PaginationProps

Hierarchy

  • ComponentPropsWithoutRef<"div">

    PaginationProps

Properties

loading

Optional loading: boolean

Defined in

packages/components/src/pagination/pagination.tsx:134 (opens in a new tab)


onPageChange

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

Type declaration

▸ (page, type): void

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

void

Defined in

packages/components/src/pagination/pagination.tsx:128 (opens in a new tab)


onSizeChange

Optional onSizeChange: (size: number) => void

Type declaration

▸ (size): void

Parameters
NameType
sizenumber
Returns

void

Defined in

packages/components/src/pagination/pagination.tsx:129 (opens in a new tab)


page

page: number

Defined in

packages/components/src/pagination/pagination.tsx:132 (opens in a new tab)


size

size: number

Defined in

packages/components/src/pagination/pagination.tsx:131 (opens in a new tab)


sizeOptions

Optional sizeOptions: number[]

Defined in

packages/components/src/pagination/pagination.tsx:130 (opens in a new tab)


total

total: number

Defined in

packages/components/src/pagination/pagination.tsx:133 (opens in a new tab)