Skip to content

Commit

Permalink
[FE][Feat] #194 : userBoard Storybook ์ž‘์„ฑ
Browse files Browse the repository at this point in the history
  • Loading branch information
leedongyull committed Nov 18, 2024
1 parent 2e6e4bb commit 068052c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions frontend/src/stories/userboard/userboard.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React from 'react';
import '@/index.css';
import { Meta, StoryFn } from '@storybook/react';
import { UserBoard } from '@/component/userboard/UserBoard';

export default {
title: 'Components/UserBoard', // Storybook์˜ ์‚ฌ์ด๋“œ๋ฐ”์— ํ‘œ์‹œ๋  ๊ฒฝ๋กœ
component: UserBoard,
tags: ['autodocs'],
parameters: {
layout: 'fullscreen', // Storybook ๋ทฐ๋ฅผ ์ค‘์•™์— ์ •๋ ฌ
},
decorators: [
Story => (
<div style={{ position: 'relative', width: '100%', height: '100vh' }}>
<Story />
</div>
),
],
} as Meta;

const Template: StoryFn = args => <UserBoard {...args} />;

export const Default = Template.bind({});

0 comments on commit 068052c

Please sign in to comment.