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

## ContextMenuProps interface

<b>Signature</b>

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

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

|  Property | Type | Description |
|  --- | --- | --- |
|  [items](#items-property) | <code>ContextMenuGroup[]</code> |  |
|  [onClose](#onclose-property) | <code>() =&gt; void</code> |  |
|  [renderHeader](#renderheader-property) | <code>() =&gt; React.ReactNode</code> |  |
|  [x](#x-property) | <code>number</code> |  |
|  [y](#y-property) | <code>number</code> |  |

### items property

<b>Signature</b>

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

### onClose property

<b>Signature</b>

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

### renderHeader property

<b>Signature</b>

```typescript
renderHeader?: () => React.ReactNode;
```

### x property

<b>Signature</b>

```typescript
x: number;
```

### y property

<b>Signature</b>

```typescript
y: number;
```
