phx-react
Version:
PHX REACT
14 lines (13 loc) • 342 B
TypeScript
import React from 'react';
interface DonutChartProps {
withChart?: number;
data: Array<{
name: string;
value: number;
}>;
colorChart?: Array<string>;
dataKey?: string;
hiddenLabel?: boolean;
}
declare function DonutChart(props: Readonly<DonutChartProps>): React.JSX.Element;
export default DonutChart;