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

# IRichTextMenuSubmenuComponentProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/widget/richTextMenu/types.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).
> 

**Signature:**

```typescript
export interface IRichTextMenuSubmenuComponentProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [enableTitleConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.irichtextmenusubmenucomponentprops/index.md#irichtextmenusubmenucomponentpropsenabletitleconfig) |  | boolean | **_(ALPHA)_** _(Optional)_ If true, the title configuration is shown in submenu. default: true |
| [onClose](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.irichtextmenusubmenucomponentprops/index.md#irichtextmenusubmenucomponentpropsonclose) |  | () =&gt; void | **_(ALPHA)_** Closes the insight menu. |
| [onGoBack](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.irichtextmenusubmenucomponentprops/index.md#irichtextmenusubmenucomponentpropsongoback) |  | () =&gt; void | **_(ALPHA)_** Go back to the root menu. |
| [widget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.irichtextmenusubmenucomponentprops/index.md#irichtextmenusubmenucomponentpropswidget) |  | [IRichTextWidget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.irichtextwidget/index.md) | **_(ALPHA)_** The widget for which the menu is rendered. |

## Property details

### IRichTextMenuSubmenuComponentProps.enableTitleConfig

> **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).
> 

If true, the title configuration is shown in submenu. default: true

**Signature:**

```typescript
enableTitleConfig?: boolean;
```

### IRichTextMenuSubmenuComponentProps.onClose

> **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).
> 

Closes the insight menu.

**Signature:**

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

### IRichTextMenuSubmenuComponentProps.onGoBack

> **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).
> 

Go back to the root menu.

**Signature:**

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

### IRichTextMenuSubmenuComponentProps.widget

> **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).
> 

The widget for which the menu is rendered.

**Signature:**

```typescript
widget: IRichTextWidget;
```
