Files
grafana/docs/sources/packages_api/ui/contextmenuitem.md
Marcus Andersson cc3fc18076 Docs: enable packages reference docs for 7-beta (#23953)
* added packages reference menu item.

* removed the draft flag.

* Updated docs by running script.
2020-04-28 09:53:58 +02:00

80 lines
1.5 KiB
Markdown

+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "ContextMenuItem"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## 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;
```