From 4a2744fc26c4217241ecab1008f362c6c40e4760 Mon Sep 17 00:00:00 2001 From: Nik Tverd Date: Wed, 20 Dec 2023 15:43:16 +0600 Subject: [PATCH] fixup! feat: update a way params are thrown to iframe styles --- .../Media/__stories__/Media.stories.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/components/Media/__stories__/Media.stories.tsx b/src/components/Media/__stories__/Media.stories.tsx index 987e06c8c..e15f5a9d9 100644 --- a/src/components/Media/__stories__/Media.stories.tsx +++ b/src/components/Media/__stories__/Media.stories.tsx @@ -18,16 +18,14 @@ const DefaultTemplate: StoryFn = (args) => ( ); -const IframeTemplate: StoryFn = (args) => { - return ( -
-

Iframe with margins (default)

- -

Iframe without margins

- -
- ); -}; +const IframeTemplate: StoryFn = (args) => ( +
+

Iframe with margins (default)

+ +

Iframe without margins

+ +
+); export const Image = DefaultTemplate.bind({}); export const ImageSlider = DefaultTemplate.bind({});