# PaginatorConfig

`interface` in `core` · v0.2.1-next.0

<https://docs.seedcord.org/packages/core/0.2.1-next.0/interfaces/paginator-config>

The transport-agnostic paginator configuration. Each transport adds its own handler wiring on top.

```ts
interface PaginatorConfig<Item, Prefix extends string, Ctx>
```

## Properties

### ephemeral

```ts
ephemeral: boolean;
```

Whether the first page is ephemeral.

### prefix

```ts
prefix: Prefix;
```

The route prefix used to build the page cursor on the nav buttons.

### render

```ts
render: PageRender<Item>;
```

Take over the whole page tree. Receives the page data and the controls factory.

### renderItem

```ts
renderItem: ItemRender<Item>;
```

Render one item, `index` is its absolute position across pages. Ignored when `render` is set.

### source

```ts
source: PageSource<Item, Ctx>;
```
