Menu
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Enterprise
Open source
ContextMenuItem interface
Signature
typescript
export interface ContextMenuItem Import
typescript
import { ContextMenuItem } from '@grafana/ui';Properties
group property
Signature
typescript
group?: string;icon property
Signature
typescript
icon?: string;label property
Signature
typescript
label: string;onClick property
Signature
typescript
onClick?: (event?: React.SyntheticEvent<HTMLElement>) => void;target property
Signature
typescript
target?: LinkTarget;url property
Signature
typescript
url?: string;Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Choose a product
Viewing: v7.2
Find another version
Scroll for more