Components
Pagination
Props

PaginationProps

Hierarchy

  • ComponentPropsWithoutRef<"div">

    PaginationProps

Table of contents

Properties

Properties

onPageChange

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

Type declaration

▸ (page, type): void

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

void

Defined in

packages/components/src/pagination/pagination.tsx:114 (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:115 (opens in a new tab)


page

page: number

Defined in

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


size

size: number

Defined in

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


sizeOptions

Optional sizeOptions: number[]

Defined in

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


total

total: number

Defined in

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