1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-04-11 07:50:11 +03:00
parent 5d8f9a5dd6
commit fb5335786a

View File

@ -17,13 +17,13 @@ export interface PieChartProps extends ChartProps {
}
export interface PieChartData extends ChartJS.ChartData {
id?: string;
datasets?: PieChartDataSets[];
}
export type DatasetTooltipLabel = (percent: string) => string | string;
interface PieChartDataSets extends ChartJS.ChartDataSets {
id?: string;
tooltipLabels?: DatasetTooltipLabel[];
}