Skip to content

Commit 506d0f1

Browse files
committed
fix: add optional hide property to ChartConfig type
1 parent 74def7b commit 506d0f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ui/chart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type ChartConfig = {
1414
[k in string]: {
1515
label?: React.ReactNode;
1616
icon?: React.ComponentType;
17+
hide?: boolean;
1718
} & (
1819
| { color?: string; theme?: never }
1920
| { color?: never; theme: Record<keyof typeof THEMES, string> }

0 commit comments

Comments
 (0)