From e91ce36e3052a4ff6a3e1bc84fa6e08c60b10c9e Mon Sep 17 00:00:00 2001 From: maurer2 <6861911+maurer2@users.noreply.github.com> Date: Sun, 28 Jul 2024 17:15:35 +0100 Subject: [PATCH] Fix snippet in "Theming" section README.md --- packages/visx-xychart/README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/visx-xychart/README.md b/packages/visx-xychart/README.md index 06037acce..338400f95 100644 --- a/packages/visx-xychart/README.md +++ b/packages/visx-xychart/README.md @@ -124,25 +124,25 @@ import { TextProps as SVGTextProps } from '@visx/text/lib/Text'; // just for typ const customTheme = buildChartTheme({ // colors - backgroundColor: string; // used by Tooltip, Annotation - colors: string[]; // categorical colors, mapped to series via `dataKey`s + backgroundColor: string, // used by Tooltip, Annotation + colors: string[], // categorical colors, mapped to series via `dataKey`s // labels - svgLabelBig?: SVGTextProps; - svgLabelSmall?: SVGTextProps; - htmlLabel?: HTMLTextStyles; + svgLabelBig?: SVGTextProps, + svgLabelSmall?: SVGTextProps, + htmlLabel?: HTMLTextStyles, // lines - xAxisLineStyles?: LineStyles; - yAxisLineStyles?: LineStyles; - xTickLineStyles?: LineStyles; - yTickLineStyles?: LineStyles; - tickLength: number; + xAxisLineStyles?: LineStyles, + yAxisLineStyles?: LineStyles, + xTickLineStyles?: LineStyles, + yTickLineStyles?: LineStyles, + tickLength: number, // grid - gridColor: string; - gridColorDark: string; // used for axis baseline if x/yxAxisLineStyles not set - gridStyles?: CSSProperties; + gridColor: string, + gridColorDark: string, // used for axis baseline if x/yxAxisLineStyles not set + gridStyles?: CSSProperties, }); () =>