@grafana/ui
Version:
Grafana Components Library
18 lines (17 loc) • 670 B
TypeScript
import { CSSProperties } from 'react';
import * as React from 'react';
import { ActionModel, LinkModel } from '@grafana/data';
export interface DataLinksContextMenuProps {
children: (props: DataLinksContextMenuApi) => JSX.Element;
links: () => LinkModel[];
style?: CSSProperties;
/**
* @deprecated Will be removed in a future version
*/
actions?: ActionModel[];
}
export interface DataLinksContextMenuApi {
openMenu?: React.MouseEventHandler<HTMLOrSVGElement>;
targetClassName?: string;
}
export declare const DataLinksContextMenu: ({ children, links, style }: DataLinksContextMenuProps) => import("react/jsx-runtime").JSX.Element;