Skip to content

Commit 9491765

Browse files
authored
Merge pull request #13265 from tomasgrusz/logo-story
test(storybook): create stories for Logo.tsx
2 parents 97b4afc + 2876f53 commit 9491765

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/components/Logo/Logo.stories.tsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import * as React from "react"
2+
import { Meta, StoryObj } from "@storybook/react"
3+
4+
import LogoComponent from "."
5+
6+
const meta = {
7+
title: "Atoms / Media & Icons / Logo",
8+
component: LogoComponent,
9+
} satisfies Meta<typeof LogoComponent>
10+
11+
export default meta
12+
13+
type Story = StoryObj<typeof meta>
14+
15+
export const Logo: Story = {
16+
render: () => (
17+
<LogoComponent />
18+
),
19+
}
File renamed without changes.

0 commit comments

Comments
 (0)