Skip to content

Commit

Permalink
feat: PostItem 스토리북 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HoberMin committed Apr 25, 2024
1 parent 0ab3fce commit 166805c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/stories/components/PostItem.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Meta, StoryObj } from '@storybook/react';

import PostItem from '@/src/app/main/_component/PostItem';

const meta: Meta<typeof PostItem> = {
title: 'components/PostItem',
tags: ['autodocs'],
component: PostItem,
};

export default meta;

type Story = StoryObj<typeof PostItem>;

export const DefaultTemplate: Story = {
args: {
size: 20,
id: 'add',
},
};

0 comments on commit 166805c

Please sign in to comment.