From 64bce766b981092bd0eab27424354ba04534bd53 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Mon, 31 Mar 2025 17:30:26 -0600 Subject: [PATCH] Update ColorStyleSegments.stories.tsx --- .../ColorsApp/ColorStyleSegments.stories.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx index 6b5aaebf2..087e0b1d3 100644 --- a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx +++ b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppColors/ColorsApp/ColorStyleSegments.stories.tsx @@ -10,7 +10,7 @@ const meta: Meta = { }, //tags: ['autodocs'], argTypes: { - initialSelectedSegment: { + selectedSegment: { control: 'select', options: Object.values(ColorAppSegments), description: 'The initially selected segment' @@ -34,12 +34,12 @@ type Story = StoryObj; export const Default: Story = { args: { - initialSelectedSegment: ColorAppSegments.Colorful + selectedSegment: ColorAppSegments.Colorful } }; export const MonochromeSelected: Story = { args: { - initialSelectedSegment: ColorAppSegments.Monochrome + selectedSegment: ColorAppSegments.Monochrome } };