Skip to content

Commit

Permalink
feat: add image-card storybook docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Jun 29, 2024
1 parent 7c7fc29 commit 7aae837
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/ui/view/molecule/image-card/image-card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ import ImageCard, { ImageCardProps } from './image-card';
const meta = {
title: 'ui/view/molecule/ImageCard',
component: ImageCard,
tags: ['autodocs'],
parameters: {
componentSubtitle: '요소는 이미지, 제목 그리고 설명 제공되는 경우에 사용됩니다.',
},
argTypes: {
image: {
description: 'ImageCard의 이미지를 설정할 수 있습니다.',
},
title: {
description: 'ImageCard의 title 내용을 설정할 수 있습니다.',
},
content: {
description: 'ImageCard의 content 내용을 설정할 수 있습니다.',
},
},
} as Meta<typeof ImageCard>;

export default meta;
Expand Down

0 comments on commit 7aae837

Please sign in to comment.