# ConfirmConfig

Canonical page: https://www.adaptabletools.com/docs/reference/confirmconfig

Confirmation prompt shown before a destructive / significant Control action runs.

```ts title="TypeScript"
export interface ConfirmConfig<CTX = ActionColumnContext<any>> 
```

## Properties

| Property | Type | Description | Default |
| --- | --- | --- | --- |
| [cancelLabel](https://www.adaptabletools.com/docs/reference/confirmconfig.md#cancellabel) | `string` | Label for the cancel button | &#39;Cancel&#39; |
| [confirmLabel](https://www.adaptabletools.com/docs/reference/confirmconfig.md#confirmlabel) | `string` | Label for the confirm button | &#39;Confirm&#39; |
| [message](https://www.adaptabletools.com/docs/reference/confirmconfig.md#message) | [`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>` | Body message of the confirmation prompt - static or a function of the context. |   |
| [title](https://www.adaptabletools.com/docs/reference/confirmconfig.md#title) | [`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>` | Title of the confirmation prompt - static or a function of the context. |   |
| [tone](https://www.adaptabletools.com/docs/reference/confirmconfig.md#tone) | `'default' \| 'danger'` | Visual tone of the prompt | &#39;default&#39; |

## Property Details

### cancelLabel

Label for the cancel button

```ts title="TypeScript"
cancelLabel?: string;
```

###### Default Value

&#39;Cancel&#39;

###### Property Value

`string`

### confirmLabel

Label for the confirm button

```ts title="TypeScript"
confirmLabel?: string;
```

###### Default Value

&#39;Confirm&#39;

###### Property Value

`string`

### message

Body message of the confirmation prompt - static or a function of the context.

```ts title="TypeScript"
message?: ValueOrFunction<string, CTX>;
```

###### Property Value

[`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>`

### title

Title of the confirmation prompt - static or a function of the context.

```ts title="TypeScript"
title?: ValueOrFunction<string, CTX>;
```

###### Property Value

[`ValueOrFunction`](https://www.adaptabletools.com/docs/reference/valueorfunction.md)`<string, CTX>`

### tone

Visual tone of the prompt

```ts title="TypeScript"
tone?: 'default' | 'danger';
```

###### Default Value

&#39;default&#39;

###### Property Value

`'default' | 'danger'`
