mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
cc3fc18076
* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
1.5 KiB
1.5 KiB
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "ContextMenuItem" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++
ContextMenuItem interface
Signature
export interface ContextMenuItem
Import
import { ContextMenuItem } from '@grafana/ui';
Properties
Property | Type | Description |
---|---|---|
group | string |
|
icon | string |
|
label | string |
|
onClick | (event?: React.SyntheticEvent<HTMLElement>) => void |
|
target | LinkTarget |
|
url | string |
group property
Signature
group?: string;
icon property
Signature
icon?: string;
label property
Signature
label: string;
onClick property
Signature
onClick?: (event?: React.SyntheticEvent<HTMLElement>) => void;
target property
Signature
target?: LinkTarget;
url property
Signature
url?: string;