From d6e94c5af82b5e2b4d8e896593867a02c5952b67 Mon Sep 17 00:00:00 2001 From: Collin Green Date: Sun, 20 Nov 2022 13:44:25 -0800 Subject: [PATCH] add yRegions field to ChartData type --- src/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 33612db..81538fa 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -16,6 +16,12 @@ type ChartData = { start?: Date; end?: Date; yMarkers?: Array<{ label: string; value: number; options?: object; }>; + yRegions?: Array<{ + label: string; + start: number; + end: number; + options?: object; + }>; }; type SelectEvent = {