Skip to content

Commit

Permalink
fix : WelcomeMessageContainer 스토리북 수정" (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangminguu authored Dec 4, 2024
1 parent f1b4e87 commit e08896b
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import type { Meta, StoryObj } from '@storybook/react';
import { WelcomeMessageContainer } from './WelcomeMessageContainer';
import { UserType } from '@/types/user';

const sampleUser: UserType = {
nickname: '홍길동',
email: '',
profileImageUrl: ''
};

const meta: Meta<typeof WelcomeMessageContainer> = {
component: WelcomeMessageContainer,
Expand All @@ -27,7 +20,7 @@ type Story = StoryObj<typeof WelcomeMessageContainer>;

export const Default: Story = {
args: {
user: sampleUser,
nickname: '홍길동',
newLetter: true
},
parameters: {
Expand All @@ -41,7 +34,7 @@ export const Default: Story = {

export const NoLetter: Story = {
args: {
user: sampleUser,
nickname: '홍길동',
newLetter: false
},
parameters: {
Expand Down

0 comments on commit e08896b

Please sign in to comment.