diff --git a/src/components/shared/button/Button.stories.tsx b/src/components/shared/button/Button.stories.tsx new file mode 100644 index 00000000..506319bd --- /dev/null +++ b/src/components/shared/button/Button.stories.tsx @@ -0,0 +1,60 @@ +import type { Meta, StoryObj } from '@storybook/react'; + +import Button from './Button'; + +const meta = { + title: 'Shared/Button', + component: Button, + parameters: { + }, + tags: ['autodocs'], + argTypes: { + }, +} satisfies Meta; + +export default meta; +type Story = StoryObj; + +export const largeprimary: Story = { + args: { + children: '로그인 하기', + full: true, + size: 'large', + }, +}; + +export const primary: Story = { + args: { + children: '로그인 하기', + size: 'large', + }, +}; + +export const weakPrimary: Story = { + args: { + children: '로그인 하기', + size: 'large', + weak: true, + }, +}; + +export const filter: Story = { + args: { + children: '조회순', + }, +}; + +export const gray: Story = { + args: { + children: '조회순', + color: 'gray', + }, +}; + +export const Weakgray: Story = { + args: { + children: '조회순', + color: 'gray', + weak: true, + }, +};