From bb9a2e2df8f761f3e2e5850779bdff891930a1d4 Mon Sep 17 00:00:00 2001 From: LasseStaus Date: Wed, 19 Jun 2024 09:14:00 +0200 Subject: [PATCH] Extend banner stories DDFFORM-540 --- src/stories/Library/banner/Banner.stories.tsx | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/stories/Library/banner/Banner.stories.tsx b/src/stories/Library/banner/Banner.stories.tsx index cffbbb34f..a01564384 100644 --- a/src/stories/Library/banner/Banner.stories.tsx +++ b/src/stories/Library/banner/Banner.stories.tsx @@ -47,12 +47,31 @@ export const Default = Template.bind({}); export const NoImage = Template.bind({}); NoImage.args = { + image: undefined, +}; + +export const NoImageOnlyTitle = Template.bind({}); +NoImageOnlyTitle.args = { title: "Title uden billede", image: undefined, + description: undefined, +}; + +export const NoImageOnlyDescription = Template.bind({}); +NoImageOnlyDescription.args = { + title: undefined, + image: undefined, + description: + "Om du er dedikeret musiknørd eller moderat musikinteresseret, så er dette siden til dig. Her kan du finde anbefalinger, digitale musikmagasiner, nyheder, musiklitteratur og meget mere.", }; -export const NoDescription = Template.bind({}); -NoDescription.args = { +export const WithImageOnlyTitle = Template.bind({}); +WithImageOnlyTitle.args = { title: "Banner uden beskrivelse", description: undefined, }; +export const WithImageOnlyDescription = Template.bind({}); +WithImageOnlyDescription.args = { + description: + "Om du er dedikeret musiknørd eller moderat musikinteresseret, så er dette siden til dig. Her kan du finde anbefalinger, digitale musikmagasiner, nyheder, musiklitteratur og meget mere.", +};