Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Add decorator to add some dimensions to the Story
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed May 30, 2023
1 parent d26f398 commit 0c6aa80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Modal/Modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import { expect } from "@storybook/jest";

const meta: Meta<typeof Modal> = {
component: Modal,
decorators: [
(storyFn) => (
<div style={{ width: "1200px", height: "800px" }}>{storyFn()}</div>
),
],
};

export default meta;
Expand Down

0 comments on commit 0c6aa80

Please sign in to comment.