From 0c6aa807d63b9731961d4c9b4fdc901e556a8a13 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 30 May 2023 14:27:56 +0200 Subject: [PATCH] Add decorator to add some dimensions to the Story --- src/components/Modal/Modal.stories.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/Modal/Modal.stories.tsx b/src/components/Modal/Modal.stories.tsx index d61205d..4e46880 100644 --- a/src/components/Modal/Modal.stories.tsx +++ b/src/components/Modal/Modal.stories.tsx @@ -6,6 +6,11 @@ import { expect } from "@storybook/jest"; const meta: Meta = { component: Modal, + decorators: [ + (storyFn) => ( +
{storyFn()}
+ ), + ], }; export default meta;