# DefaultConfirmOptions

`interface` in `seedcord` · v0.14.0

<https://docs.seedcord.org/packages/seedcord/0.14.0/interfaces/default-confirm-options>

Options for the string-prompt form, adding the built-in Confirm/Cancel buttons' labels and style.

```ts
interface DefaultConfirmOptions extends ConfirmOptions
```

## Properties

### cancelLabel

```ts
cancelLabel: string;
```

Cancel-button label.

### confirmLabel

```ts
confirmLabel: string;
```

Confirm-button label.

### confirmStyle

```ts
confirmStyle: ButtonStyle;
```

Confirm-button style.

### ephemeral

```ts
ephemeral: boolean;
```

Whether the prompt is ephemeral. Only the invoking user can act on it either way, a non-invoker's click is ignored.

### onCancel

```ts
onCancel: Outcome;
```

Shown in place of the prompt when the user cancels. Absent removes the prompt.

### onConfirm

```ts
onConfirm: Outcome;
```

Shown in place of the prompt when the user confirms. Absent removes the prompt.

### onTimeout

```ts
onTimeout: Outcome;
```

Shown in place of the prompt when the prompt times out. Absent removes the prompt.

### timeoutMs

```ts
timeoutMs: number;
```

Milliseconds to wait for a click before the prompt is settled and the result resolves to `false`.
