@gpa-gemstone/react-graph
Version:
Interactive UI Components for GPA products
14 lines (13 loc) • 504 B
TypeScript
import * as React from 'react';
import { LineStyle } from './GraphContext';
import { ILegendRequiredProps } from './LegendContext';
type LegendStyle = LineStyle | 'none' | 'square' | 'circle';
export interface IProps extends ILegendRequiredProps {
color: string;
legendSymbol: LegendStyle;
setEnabled: (arg: boolean, e: React.MouseEvent<HTMLDivElement>) => void;
hasNoData: boolean;
label: string;
}
declare function DataLegend(props: IProps): JSX.Element;
export default DataLegend;