# PaginatorControls

`interface` in `core` · v0.10.0

<https://seedcord.org/docs/packages/core/0.10.0/interfaces/paginator-controls>

The controls passed to `render`.

```ts
interface PaginatorControls
```

## Methods

### button

```ts
button(
    key: ControlKey,
    cosmetics?: ControlCosmetics
): ButtonBuilder
```

A fresh `ButtonBuilder` for one control, already stamped with its target page and disabled-at-bounds
state. Call only cosmetic setters on it, because a `setCustomId` or `setStyle(Link)` un-routes it.

### row

```ts
row(keys: ControlKey[]): ActionRowBuilder<ButtonBuilder>
```

Assemble an action row of the chosen controls, in order. Throws on an empty set, more than five
controls, or a duplicate.
