Skip to content

Commit 3e1afc3

Browse files
authored
Add undefined to color prop (#385)
1 parent d3631ed commit 3e1afc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Chart/PieChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare global {
2626
export type PieChartBaseProps = {
2727
fill?: boolean;
2828
name?: string[];
29-
color: ChartColor[];
29+
color?: ChartColor[];
3030
} & Omit<ChartProps, "name" | "color">;
3131

3232
export type PieChartProps = PieChartBaseProps & BaseChartProps;

0 commit comments

Comments
 (0)