@grafana/ui
Version:
Grafana Components Library
22 lines (21 loc) • 926 B
TypeScript
import * as React from 'react';
import { type LegendOverflow } from '@grafana/schema';
import { type VizLegendItem } from './types';
export interface Props {
key?: React.Key;
item: VizLegendItem;
className?: string;
onLabelClick?: (item: VizLegendItem, event: React.MouseEvent<HTMLButtonElement>) => void;
onLabelMouseOver?: (item: VizLegendItem, event: React.MouseEvent<HTMLButtonElement> | React.FocusEvent<HTMLButtonElement>) => void;
onLabelMouseOut?: (item: VizLegendItem, event: React.MouseEvent<HTMLButtonElement> | React.FocusEvent<HTMLButtonElement>) => void;
readonly?: boolean;
hasMixedAxes?: boolean;
overflow?: LegendOverflow;
}
/**
* @internal
*/
export declare const LegendTableItem: {
({ item, onLabelClick, onLabelMouseOver, onLabelMouseOut, className, readonly, hasMixedAxes, overflow, }: Props): import("react/jsx-runtime").JSX.Element;
displayName: string;
};