From 4fed7ac05d27bc227827405de9ecc5cba448888d Mon Sep 17 00:00:00 2001 From: Sue Burt <“sue.burt@guardian.co.uk”> Date: Wed, 11 Dec 2024 16:39:37 +0000 Subject: [PATCH] Add story for final countdown --- .../src/components/UsEoy2024.stories.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dotcom-rendering/src/components/UsEoy2024.stories.tsx b/dotcom-rendering/src/components/UsEoy2024.stories.tsx index b01695b837e..f953d1326f0 100644 --- a/dotcom-rendering/src/components/UsEoy2024.stories.tsx +++ b/dotcom-rendering/src/components/UsEoy2024.stories.tsx @@ -21,3 +21,15 @@ export const Default = { date: new Date('2024-11-26T00:00:00Z'), }, } satisfies Story; + +export const FinalCountdown = { + args: { + tickerData: { + total: 1000000, + goal: 2000000, + }, + // eslint-disable-next-line @typescript-eslint/no-empty-function + submitTrackingEvent: () => {}, + date: new Date('2024-12-26T00:00:00Z'), + }, +} satisfies Story;