File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
src/components/MergeInfographic Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { Box } from "@chakra-ui/react"
1
2
import { Meta , StoryObj } from "@storybook/react"
2
3
3
4
import { langViewportModes } from "../../../.storybook/modes"
5
+ import { ContentContainer } from "../MdComponents"
4
6
5
7
import MergeInfographicComponent from "."
6
8
7
9
const meta = {
8
10
title : "Atoms / Media & Icons / MergeInfographic" ,
9
11
component : MergeInfographicComponent ,
10
12
parameters : {
11
- layout : "none " ,
13
+ layout : "fullscreen " ,
12
14
chromatic : {
13
15
modes : {
14
16
...langViewportModes ,
15
17
} ,
16
18
} ,
17
19
} ,
20
+ decorators : [
21
+ ( Story ) => (
22
+ < Box maxW = "1008px" mx = "auto" >
23
+ < ContentContainer >
24
+ < Story />
25
+ </ ContentContainer >
26
+ </ Box >
27
+ )
28
+ ]
18
29
} satisfies Meta < typeof MergeInfographicComponent >
19
30
20
31
export default meta
21
32
22
33
type Story = StoryObj < typeof meta > ;
23
34
24
- export const MergeInfographic : Story = { }
35
+ export const MergeInfographic : Story = { }
You can’t perform that action at this time.
0 commit comments