import { ChartType, IUnitWithChartProps } from "../../coreX/UnitWithChart"; import React from "react"; export interface ICWTProps { title: { label: string; value?: number | null; }; items: { label: string; color: string; value: number; saturated?: boolean; }[]; rawValue?: number | null; unit: IUnitWithChartProps["unit"]; chartType?: ChartType; /** * pass the parameter if table cell unit different with tooltip */ tableUnit?: IUnitWithChartProps["unit"]; saturated?: boolean; } export type IChartWithUnitProps = { total: number; items: { label: string; color: string; value: number; }[]; rawValue?: number | null; unit: IUnitWithChartProps["unit"]; chartType?: ChartType; /** * pass the parameter if table cell unit different with tooltip */ tableUnit?: IUnitWithChartProps["unit"]; }; export declare const ChartWithUnit: React.FC; declare const ChartWithTooltip: React.FunctionComponent; export default ChartWithTooltip;