We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3631ed commit 3e1afc3Copy full SHA for 3e1afc3
src/Chart/PieChart.tsx
@@ -26,7 +26,7 @@ declare global {
26
export type PieChartBaseProps = {
27
fill?: boolean;
28
name?: string[];
29
- color: ChartColor[];
+ color?: ChartColor[];
30
} & Omit<ChartProps, "name" | "color">;
31
32
export type PieChartProps = PieChartBaseProps & BaseChartProps;
0 commit comments