diff --git a/src/components/common/index.tsx b/src/components/common/index.tsx index ea373f83..ce1c9c47 100644 --- a/src/components/common/index.tsx +++ b/src/components/common/index.tsx @@ -1,2 +1,4 @@ // eslint-disable-next-line react-refresh/only-export-components export * from './selectweek/SelectWeek' +export * from './label/Label' +export * from './icon/Icon' diff --git a/src/components/common/label/Label.stories.tsx b/src/components/common/label/Label.stories.tsx new file mode 100644 index 00000000..b4453685 --- /dev/null +++ b/src/components/common/label/Label.stories.tsx @@ -0,0 +1,54 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import Label from './Label' + +const meta: Meta = { + title: 'Components/Label', + component: Label, + argTypes: { + label: { + control: 'text' + }, + color: { + control: 'select', + options: ['default', 'selected', 'disabled'] + }, + icon: { + control: 'select', + options: [ + 'Abacus', + 'Computer', + 'English', + 'Etc', + 'Korean', + 'Math', + 'Music', + 'Science', + 'Music', + 'Social', + 'Synthesis', + 'Write' + ] + } + } +} + +export default meta +type Story = StoryObj + +export const Medium: Story = { + render: (args) => ( +