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

# IInsightMenuSubmenu

- 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/widget/insightMenu/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).
> 

**Signature:**

```typescript
export interface IInsightMenuSubmenu 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [className?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuclassname) |  | string | **_(BETA)_** _(Optional)_ Additional class names to be applied to the item. |
| [disabled?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenudisabled) |  | boolean | **_(BETA)_** _(Optional)_ |
| [icon?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuicon) |  | ReactElement \| string | **_(BETA)_** _(Optional)_ |
| [itemId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuitemid) |  | string | **_(BETA)_** |
| [itemName](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuitemname) |  | string | **_(BETA)_** |
| [items?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuitems) |  | [IInsightMenuItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenuitem/index.md)[] | **_(BETA)_** _(Optional)_ The items to render for the submenu. |
| [onClick?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenuonclick) |  | (e: MouseEvent) =&gt; void | **_(BETA)_** _(Optional)_ |
| [renderSubmenuComponentOnly?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenurendersubmenucomponentonly) |  | boolean | **_(ALPHA)_** _(Optional)_ Should the submenu component be rendered only? If so, it won't be wrapped inside the default container and the default header won't be rendered. |
| [SubmenuComponent?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenusubmenucomponent) |  | ComponentType&lt;[IInsightMenuSubmenuComponentProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenucomponentprops/index.md)&gt; | **_(BETA)_** _(Optional)_ Define either the component to render for the submenu or the items to render by default submenu. If not provided, the default submenu component will be used. |
| [tooltip?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenutooltip) |  | string \| ReactNode | **_(BETA)_** _(Optional)_ If specified, the value is shown on hover of the item as a tooltip. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.iinsightmenusubmenu/index.md#iinsightmenusubmenutype) |  | "submenu" | **_(BETA)_** |

## Property details

### IInsightMenuSubmenu.className

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

Additional class names to be applied to the item.

**Signature:**

```typescript
className?: string;
```

### IInsightMenuSubmenu.disabled

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

**Signature:**

```typescript
disabled?: boolean;
```

### IInsightMenuSubmenu.icon

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

**Signature:**

```typescript
icon?: ReactElement | string;
```

### IInsightMenuSubmenu.itemId

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

**Signature:**

```typescript
itemId: string;
```

### IInsightMenuSubmenu.itemName

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

**Signature:**

```typescript
itemName: string;
```

### IInsightMenuSubmenu.items

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

The items to render for the submenu.

**Signature:**

```typescript
items?: IInsightMenuItem[];
```

### IInsightMenuSubmenu.onClick

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

**Signature:**

```typescript
onClick?: (e: MouseEvent) => void;
```

### IInsightMenuSubmenu.renderSubmenuComponentOnly

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

Should the submenu component be rendered only? If so, it won't be wrapped inside the default container and the default header won't be rendered.

**Signature:**

```typescript
renderSubmenuComponentOnly?: boolean;
```

### IInsightMenuSubmenu.SubmenuComponent

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

Define either the component to render for the submenu or the items to render by default submenu. If not provided, the default submenu component will be used.

**Signature:**

```typescript
SubmenuComponent?: ComponentType<IInsightMenuSubmenuComponentProps>;
```

### IInsightMenuSubmenu.tooltip

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

If specified, the value is shown on hover of the item as a tooltip.

**Signature:**

```typescript
tooltip?: string | ReactNode;
```

### IInsightMenuSubmenu.type

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

**Signature:**

```typescript
type: "submenu";
```
