-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
src/problem/components/AnswerChoiceButton/AnswerChoiceButton.stories.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import AnswerChoiceButton from "."; | ||
import { Meta, StoryObj } from "@storybook/react"; | ||
|
||
const meta = { | ||
component: AnswerChoiceButton, | ||
} satisfies Meta<typeof AnswerChoiceButton>; | ||
export default meta; | ||
|
||
type Story = StoryObj<typeof meta>; | ||
|
||
// TODO : msw 사용해서 다르게 보여주는 story 작성 필요 | ||
export const InitChoiceAnswer = { | ||
args: { | ||
// className: ANSWER_CHOICHE_BUTTON_INFO.INIT_CHOICE_ANSWER.className, | ||
content: "유동성", | ||
}, | ||
} satisfies Story; | ||
|
||
export const CurrentChoiceAnswer = { | ||
args: { | ||
// className: ANSWER_CHOICHE_BUTTON_INFO.CURRENT_CHOICE_ANSWER.className, | ||
content: "유동성", | ||
}, | ||
} satisfies Story; | ||
|
||
export const ChoiceAnswerCorrect = { | ||
args: { | ||
// className: ANSWER_CHOICHE_BUTTON_INFO.CHOICE_ANSWER_CORRECT.className, | ||
content: "유동성", | ||
}, | ||
} satisfies Story; | ||
|
||
export const ChoiceAnswerFail = { | ||
args: { | ||
// className: ANSWER_CHOICHE_BUTTON_INFO.CHOICE_ANSWER_FAIL.className, | ||
content: "유동성", | ||
}, | ||
} satisfies Story; |