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

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;