API Reference@grafana/ui › ContextMenuItem

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;