* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
1.3 KiB
1.3 KiB
+++
-----------------------------------------------------------------------
Do not edit this file. It is automatically generated by API Documenter.
-----------------------------------------------------------------------
title = "ContextMenuProps" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" +++
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;