API Reference@grafana/ui › ContextMenuProps

ContextMenuProps interface

Signature

export interface ContextMenuProps 

Import

import { ContextMenuProps } from '@grafana/ui';

Properties

Property Type Description
items ContextMenuGroup[]
onClose () => void
renderHeader () => React.ReactNode
x number
y number

items property

Signature

items?: ContextMenuGroup[];

onClose property

Signature

onClose: () => void;

renderHeader property

Signature

renderHeader?: () => React.ReactNode;

x property

Signature

x: number;

y property

Signature

y: number;