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

# IInsightMenuSubmenuComponentProps

- 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/insightMenu/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 IInsightMenuSubmenuComponentProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [enableTitleConfig?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenucomponentprops/index.md#iinsightmenusubmenucomponentpropsenabletitleconfig) |  | 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.iinsightmenusubmenucomponentprops/index.md#iinsightmenusubmenucomponentpropsonclose) |  | () =&gt; void | **_(ALPHA)_** Closes the insight menu. |
| [onGoBack](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenucomponentprops/index.md#iinsightmenusubmenucomponentpropsongoback) |  | () =&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.iinsightmenusubmenucomponentprops/index.md#iinsightmenusubmenucomponentpropswidget) |  | [IInsightWidget](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iinsightwidget/index.md) | **_(ALPHA)_** The widget for which the menu is rendered. |

## Property details

### IInsightMenuSubmenuComponentProps.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;
```

### IInsightMenuSubmenuComponentProps.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;
```

### IInsightMenuSubmenuComponentProps.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;
```

### IInsightMenuSubmenuComponentProps.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: IInsightWidget;
```
