> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAlertingDialogHeaderProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/alerting/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the default alerting dialog's header region (the title input row).

**Signature:**

```typescript
export interface IAlertingDialogHeaderProps extends IAutomationDialogHeaderProps 
```
**Extends:** [IAutomationDialogHeaderProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iautomationdialogheaderprops/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [onCancel?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogheaderprops/index.md#ialertingdialogheaderpropsoncancel) |  | () =&gt; void | **_(BETA)_** _(Optional)_ Called when the header's back/close button is pressed. The default dialog closes on it. |

## Property details

### IAlertingDialogHeaderProps.onCancel

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Called when the header's back/close button is pressed. The default dialog closes on it.

**Signature:**

```typescript
onCancel?: () => void;
```
