Skip to content

Commit

Permalink
test: Radio 스토리북 제작
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Jan 7, 2024
1 parent 35a452c commit a79e8e0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/components/shared/radio/Radio.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import type { Meta, StoryObj } from '@storybook/react';

import Radio from './Radio';

const meta = {
title: 'Shared/Radio',
component: Radio,
parameters: {
},
tags: ['autodocs'],
argTypes: {
},
} satisfies Meta<typeof Radio>;

export default meta;
type Story = StoryObj<typeof meta>;

export const gender: Story = {
args: {
type: 'gender',
label: '남성',
value: 'male',
},
};

export const ageGroup: Story = {
args: {
type: 'ageGroup',
label: '10대',
value: '10',
},
};

0 comments on commit a79e8e0

Please sign in to comment.