module@warp-drive/experiments/pagination @experimental
Type Alias PaginateMode
ts
type PaginateMode = "paged" | "infinite";The two navigation surfaces a <Paginate /> component can drive. Selecting one (via the component's @mode arg) narrows the yielded state so the two APIs cannot be mixed:
'paged'— single-page view, see PagedPaginationState.'infinite'— accumulated view, see InfinitePaginationState.