Skip to main content

Interface: PaginationState<ReturnType>

The state of a pagination.

Type parameters

Name
ReturnType

Properties

data

data: ReturnType[]

The page data.


hasNext

hasNext: boolean

Whether there is a next page.


hasPrev

hasPrev: boolean

Whether there is a previous page.