@grafana/flamegraph
Version:
Grafana flamegraph visualization component
27 lines (26 loc) • 1.02 kB
TypeScript
import { type GetExtraContextMenuButtonsFunction } from '../FlameGraph/FlameGraphContextMenu';
import { type FlameGraphDataContainer, type LevelItem } from '../FlameGraph/dataTransform';
import { PaneView, ViewMode } from '../types';
type ActionsCellProps = {
nodeId: string;
label: string;
itemIndexes: number[];
levelItem: LevelItem;
hasChildren: boolean;
depth: number;
parentId: string | undefined;
onFocus: (nodeIdOrLabel: string, isLabel: boolean, itemIndexes: number[]) => void;
onShowCallers: (label: string) => void;
onSearch?: (symbol: string) => void;
focusedNodeId: string | undefined;
callersNodeLabel: string | undefined;
isSearchMatch: boolean;
actionsCellClass: string;
getExtraContextMenuButtons?: GetExtraContextMenuButtonsFunction;
data: FlameGraphDataContainer;
viewMode?: ViewMode;
paneView?: PaneView;
search: string;
};
export declare const ActionsCell: import("react").NamedExoticComponent<ActionsCellProps>;
export {};