Interface ControlledPaginationState

Definition

export interface ControlledPaginationState

Comments

Properties specific to configuring pagination in a controlled manner.

Properties

NameOptionalDefinitionComment
currentPagefalsenumber

The 1-based index of the currently displayed page.

pageSizeIndexfalsenumber

The index of current page size setting in the array of settings.

setCurrentPagefalse(pageNum: number) => void

Sets the current page index.

setPageSizeIndexfalse(pageSizeIndex: number) => void

Setter function for the page size index.

typetrue"controlled"

A type discriminator.