@@ -124,25 +124,25 @@ import { TextProps as SVGTextProps } from '@visx/text/lib/Text'; // just for typ
124124
125125const customTheme = buildChartTheme ({
126126 // colors
127- backgroundColor: string ; // used by Tooltip, Annotation
128- colors : string []; // categorical colors, mapped to series via `dataKey`s
127+ backgroundColor: string , // used by Tooltip, Annotation
128+ colors: string [], // categorical colors, mapped to series via `dataKey`s
129129
130130 // labels
131- svgLabelBig ?: SVGTextProps ;
132- svgLabelSmall ?: SVGTextProps ;
133- htmlLabel ?: HTMLTextStyles ;
131+ svgLabelBig?: SVGTextProps ,
132+ svgLabelSmall?: SVGTextProps ,
133+ htmlLabel?: HTMLTextStyles ,
134134
135135 // lines
136- xAxisLineStyles ?: LineStyles ;
137- yAxisLineStyles ?: LineStyles ;
138- xTickLineStyles ?: LineStyles ;
139- yTickLineStyles ?: LineStyles ;
140- tickLength : number ;
136+ xAxisLineStyles?: LineStyles ,
137+ yAxisLineStyles?: LineStyles ,
138+ xTickLineStyles?: LineStyles ,
139+ yTickLineStyles?: LineStyles ,
140+ tickLength: number ,
141141
142142 // grid
143- gridColor : string ;
144- gridColorDark : string ; // used for axis baseline if x/yxAxisLineStyles not set
145- gridStyles ?: CSSProperties ;
143+ gridColor: string ,
144+ gridColorDark: string , // used for axis baseline if x/yxAxisLineStyles not set
145+ gridStyles?: CSSProperties ,
146146});
147147
148148() => <XYChart theme = {customTheme} />
0 commit comments