Skip to content

UsePaginationOptions

UsePaginationOptions<T> = object

Defined in: packages/pagination/src/use-pagination.ts:14

Options for the usePagination hook.

T

The item type in the paginated list.

optional getKey: (item) => string | number

Defined in: packages/pagination/src/use-pagination.ts:16

Extracts a unique key from each item for deduplication. Defaults to item.id.

T

string | number