@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
12 lines (11 loc) • 349 B
TypeScript
import type { ChartToolTipProps } from '../types';
export interface DataPoint {
value: number;
name: string;
}
interface DistributionChartProps {
data: DataPoint[];
chartToolTip?: ChartToolTipProps;
}
declare const DistributionChart: ({ data, chartToolTip }: DistributionChartProps) => JSX.Element;
export default DistributionChart;