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

# IAnalyticalDesignerUndoRedoProps

- Package: [@gooddata/sdk-ui-analytical-designer](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.68/libs/sdk-ui-analytical-designer/src/embedding/editorHeaderSlotTypes.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the undo and redo controls, which are one control.

**Signature:**

```typescript
export interface IAnalyticalDesignerUndoRedoProps extends IAnalyticalDesignerHeaderContext 
```
**Extends:** [IAnalyticalDesignerHeaderContext](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerheadercontext/index.md)

## Remarks

The default owns its localized tooltips and accessible names; a replacement supplies its own.

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [isRedoDisabled](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerundoredoprops/index.md#ianalyticaldesignerundoredopropsisredodisabled) |  | boolean | **_(ALPHA)_** Whether there is nothing to redo, or the visualization is being saved. |
| [isUndoDisabled](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerundoredoprops/index.md#ianalyticaldesignerundoredopropsisundodisabled) |  | boolean | **_(ALPHA)_** Whether there is nothing to undo, or the visualization is being saved. |
| [onRedo](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerundoredoprops/index.md#ianalyticaldesignerundoredopropsonredo) |  | () =&gt; void | **_(ALPHA)_** Redoes the last undone change. Ignored when redo is disabled. |
| [onUndo](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-analytical-designer/sdk-ui-analytical-designer.ianalyticaldesignerundoredoprops/index.md#ianalyticaldesignerundoredopropsonundo) |  | () =&gt; void | **_(ALPHA)_** Undoes the last change. Ignored when undo is disabled. |

## Property details

### IAnalyticalDesignerUndoRedoProps.isRedoDisabled

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether there is nothing to redo, or the visualization is being saved.

**Signature:**

```typescript
isRedoDisabled: boolean;
```

### IAnalyticalDesignerUndoRedoProps.isUndoDisabled

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether there is nothing to undo, or the visualization is being saved.

**Signature:**

```typescript
isUndoDisabled: boolean;
```

### IAnalyticalDesignerUndoRedoProps.onRedo

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Redoes the last undone change. Ignored when redo is disabled.

**Signature:**

```typescript
onRedo: () => void;
```

### IAnalyticalDesignerUndoRedoProps.onUndo

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Undoes the last change. Ignored when undo is disabled.

**Signature:**

```typescript
onUndo: () => void;
```
