Skip to content

Commit

Permalink
feat(MergeInfographic): add mergeinfographic story [Closes #13242]
Browse files Browse the repository at this point in the history
  • Loading branch information
Baystef committed Jun 27, 2024
1 parent e80543d commit 5bc32c5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/i18next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const ns = [
"page-upgrades",
"page-developers-index",
"page-what-is-ethereum",
"page-upgrades-index"
] as const
const supportedLngs = Object.keys(baseLocales)

Expand Down
24 changes: 24 additions & 0 deletions src/components/MergeInfographic/MergeInfographic.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { Meta, StoryObj } from "@storybook/react"

import { langViewportModes } from "../../../.storybook/modes"

import MergeInfographicComponent from "."

const meta = {
title: "Atoms / Media & Icons / MergeInfographic",
component: MergeInfographicComponent,
parameters: {
layout: "none",
chromatic: {
modes: {
...langViewportModes,
},
},
},
} satisfies Meta<typeof MergeInfographicComponent>

export default meta

type Story = StoryObj<typeof meta>;

export const MergeInfographic: Story = {}

0 comments on commit 5bc32c5

Please sign in to comment.