+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ContextMenuItem"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
draft = true
+++

## ContextMenuItem interface

<b>Signature</b>

```typescript
export interface ContextMenuItem 
```
<b>Import</b>

```typescript
import { ContextMenuItem } from '@grafana/ui';
```
<b>Properties</b>

|  Property | Type | Description |
|  --- | --- | --- |
|  [group](#group-property) | <code>string</code> |  |
|  [icon](#icon-property) | <code>string</code> |  |
|  [label](#label-property) | <code>string</code> |  |
|  [onClick](#onclick-property) | <code>(event?: React.SyntheticEvent&lt;HTMLElement&gt;) =&gt; void</code> |  |
|  [target](#target-property) | <code>LinkTarget</code> |  |
|  [url](#url-property) | <code>string</code> |  |

### group property

<b>Signature</b>

```typescript
group?: string;
```

### icon property

<b>Signature</b>

```typescript
icon?: string;
```

### label property

<b>Signature</b>

```typescript
label: string;
```

### onClick property

<b>Signature</b>

```typescript
onClick?: (event?: React.SyntheticEvent<HTMLElement>) => void;
```

### target property

<b>Signature</b>

```typescript
target?: LinkTarget;
```

### url property

<b>Signature</b>

```typescript
url?: string;
```
