Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 스토리북 Props 에러 수정 #292

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ const meta: Meta<typeof ScheduleProfileBox> = {
description: '메인 타이틀을 입력해주세요!!',
control: { type: 'text' },
required: true
},
handleEdit: {
description: '에디트 함수를 입력해주세요',
control: { type: 'function' },
required: true
},
handleDelete: {
description: '삭제 함수를 입력해주세요',
control: { type: 'function' },
required: true
}
}
}
Expand All @@ -29,7 +19,7 @@ type Story = StoryObj<typeof ScheduleProfileBox>
export const ProfileScheduleBox: Story = {
args: {
mainTitle: '메인 타이틀 입니다.',
handleEdit: () => alert('에디트 함수를 넣어주세요'),
handleDelete: () => alert('삭제 함수를 넣어주새요')
subTitle: '서브 타이틀 입니다.',
handleDetail: () => console.log('test')
}
}
Loading