Skip to content

Commit

Permalink
fix: 스토리북 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jswith committed Oct 19, 2022
1 parent cac96e5 commit 6b8c2d9
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { ComponentStory } from '@storybook/react';

import FloatingButton from '@/components/common/FloatingButton/FloatingButton';

import theme from '@/style/theme';

import Plus from '@/assets/plus.svg';
import Writing from '@/assets/writing.svg';

export default {
component: FloatingButton,
Expand All @@ -17,10 +15,11 @@ const Template: ComponentStory<typeof FloatingButton> = (args) => (

export const Default = () => (
<Template
label={'리뷰 작성하기'}
clickHandler={() => {
alert('클릭됨');
}}
>
<Plus stroke={theme.colors.white} />
<Writing />
</Template>
);

0 comments on commit 6b8c2d9

Please sign in to comment.