import { BaseComponent } from "../../types/baseComponent"; import { ChartData } from "chart.js"; interface ChartProps extends BaseComponent { type: "bar" | "line" | "pie" | "doughnut" | "polarArea" | "radar" | "bubble" | "scatter"; options?: Record | undefined; darkOptions?: Record | undefined; disableDarkMode?: boolean | undefined; darkMode?: "dark" | "light" | null; chartRef?: React.Ref | any; datalabels?: boolean; data: ChartData; darkTicksColor?: string; darkLabelColor?: string; darkGridLinesColor?: string; darkBgColor?: string; } export { ChartProps };