[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow-ui](../../README) / [index](../README) / paginationRange

# Function: paginationRange()

> **paginationRange**(`page`, `lastPage`, `siblings?`): (`number` \| `null`)[]

Defined in: [flow-ui/src/components/Pagination.tsx:43](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow-ui/src/components/Pagination.tsx#L43)

The page numbers to draw, with `null` marking a gap.

First and last are always present so the ends of the list stay one click away,
which is what people reach for far more often than page 96.

## Parameters

### page

`number`

### lastPage

`number`

### siblings?

`number` = `5`

## Returns

(`number` \| `null`)[]
