From 473185355c714bf2a1aa906d37b2afa8cc60b02c Mon Sep 17 00:00:00 2001 From: DanielCliftonGuardian <110032454+DanielCliftonGuardian@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:41:00 +0100 Subject: [PATCH] Update Answers.stories.tsx --- dotcom-rendering/src/components/Answers.stories.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dotcom-rendering/src/components/Answers.stories.tsx b/dotcom-rendering/src/components/Answers.stories.tsx index 9dbfe07dee7..f48b107edec 100644 --- a/dotcom-rendering/src/components/Answers.stories.tsx +++ b/dotcom-rendering/src/components/Answers.stories.tsx @@ -1,7 +1,8 @@ import { css } from '@emotion/react'; -import { Pillar } from '@guardian/libs'; +import { ArticleDesign, ArticleDisplay, Pillar } from '@guardian/libs'; import { Radio, RadioGroup } from '@guardian/source/react-components'; import type { Meta, StoryObj } from '@storybook/react'; +import { splitTheme } from '../../.storybook/decorators/splitThemeDecorator'; import { CorrectSelectedAnswer, IncorrectAnswer, @@ -12,6 +13,15 @@ import { const meta = { title: 'Components/Answers', + decorators: [ + splitTheme([ + { + display: ArticleDisplay.Standard, + design: ArticleDesign.Comment, + theme: Pillar.News, + }, + ]), + ], } satisfies Meta; export default meta;