diff --git a/src/components/Letter/SelectItem/SelectItem.stories.tsx b/src/components/Letter/SelectItem/SelectItem.stories.tsx index 05e13851..e7f36a26 100644 --- a/src/components/Letter/SelectItem/SelectItem.stories.tsx +++ b/src/components/Letter/SelectItem/SelectItem.stories.tsx @@ -1,6 +1,7 @@ import type { Meta, StoryObj } from '@storybook/react'; import { SelectItem } from './SelectItem'; import { MemoryRouter } from 'react-router-dom'; +import React, { useState } from 'react'; const meta: Meta = { component: SelectItem, @@ -9,7 +10,7 @@ const meta: Meta = { argTypes: {}, decorators: [ (Story) => ( - + ) @@ -20,5 +21,9 @@ export default meta; type Story = StoryObj; export const Default: Story = { - args: {} + render: () => { + const [isActive, setIsActive] = useState(false); + + return ; + } }; diff --git a/src/components/Letter/SuccessModal/SuccessModal.stories.tsx b/src/components/Letter/SuccessModal/SuccessModal.stories.tsx index 451a0869..8d4e4988 100644 --- a/src/components/Letter/SuccessModal/SuccessModal.stories.tsx +++ b/src/components/Letter/SuccessModal/SuccessModal.stories.tsx @@ -9,7 +9,7 @@ const meta: Meta = { argTypes: {}, decorators: [ (Story) => ( - + ) diff --git a/src/pages/Letter/SelectItem/SelectItemPage.stories.tsx b/src/pages/Letter/SelectItem/SelectItemPage.stories.tsx index fd83d092..b6992890 100644 --- a/src/pages/Letter/SelectItem/SelectItemPage.stories.tsx +++ b/src/pages/Letter/SelectItem/SelectItemPage.stories.tsx @@ -1,6 +1,5 @@ import type { Meta, StoryObj } from '@storybook/react'; import { MemoryRouter } from 'react-router-dom'; - import { SelectItemPage } from './SelectItemPage'; const meta: Meta = {