From 83c5583200f32508914e59c3f3ece5e1b8e8830c Mon Sep 17 00:00:00 2001 From: PHJoon Date: Mon, 4 Sep 2023 10:42:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?[Test]=20[GGFE-227]=20Megaphone-storybook?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CurrentMatch.stories.tsx | 2 +- stories/layout/Megaphone.stories.tsx | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) rename stories/{mainProfile => layout}/CurrentMatch.stories.tsx (97%) create mode 100644 stories/layout/Megaphone.stories.tsx diff --git a/stories/mainProfile/CurrentMatch.stories.tsx b/stories/layout/CurrentMatch.stories.tsx similarity index 97% rename from stories/mainProfile/CurrentMatch.stories.tsx rename to stories/layout/CurrentMatch.stories.tsx index 465159145..223d528ed 100644 --- a/stories/mainProfile/CurrentMatch.stories.tsx +++ b/stories/layout/CurrentMatch.stories.tsx @@ -2,7 +2,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { CurrentMatchContent } from 'components/Layout/CurrentMatch'; const meta: Meta = { - title: 'MainPageProfile/CurrentMatch', + title: 'Layout/CurrentMatch', component: CurrentMatchContent, tags: ['autodocs'], argTypes: { diff --git a/stories/layout/Megaphone.stories.tsx b/stories/layout/Megaphone.stories.tsx new file mode 100644 index 000000000..4a6fe32c9 --- /dev/null +++ b/stories/layout/Megaphone.stories.tsx @@ -0,0 +1,16 @@ +import type { Meta, StoryObj } from '@storybook/react'; +import Megaphone from 'components/Layout/MegaPhone'; + +const meta: Meta = { + title: 'Layout/Megaphone', + component: Megaphone, + tags: ['autodocs'], + argTypes: {}, +}; + +export default meta; +type Story = StoryObj; + +export const Empty: Story = { + args: {}, +}; From a3f672722a3d9bb8135ea5977364ac02b29def51 Mon Sep 17 00:00:00 2001 From: PHJoon Date: Tue, 5 Sep 2023 01:41:49 +0900 Subject: [PATCH 2/2] =?UTF-8?q?[Chore]=20[GGFE-227]=20=EC=8A=A4=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=EB=B6=81=20=EB=B3=80=EC=88=98=EB=AA=85=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stories/layout/Megaphone.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stories/layout/Megaphone.stories.tsx b/stories/layout/Megaphone.stories.tsx index 4a6fe32c9..0ffeab9a2 100644 --- a/stories/layout/Megaphone.stories.tsx +++ b/stories/layout/Megaphone.stories.tsx @@ -11,6 +11,6 @@ const meta: Meta = { export default meta; type Story = StoryObj; -export const Empty: Story = { +export const Default: Story = { args: {}, };