cl-react-graph
Version:
React D3 Charts
17 lines (16 loc) • 426 B
TypeScript
/// <reference types="react" />
import { BarChartDataSet } from "./Histogram";
type Props = {
className?: string;
theme?: string[];
data: {
bins: string[];
counts: BarChartDataSet[];
};
onSelect: (label: string) => void;
visible: {
[key: string]: boolean;
};
};
export declare const Legend: ({ className, theme, data, onSelect, visible, }: Props) => JSX.Element;
export {};