import { Meta, StoryObj } from '@storybook/react'; import { ColorDot, Flex } from '..'; import { cv } from '../..'; const meta: Meta = { title: 'Opize Component/ColorDot', component: ColorDot, tags: ['autodocs'], parameters: { layout: 'centered', }, argTypes: { size: { control: { type: 'text', }, }, color: { control: { type: 'text', }, description: '원 색상을 지정합니다. 원하는 색을 입력하거나 Theme 색상 중 하나를 선택할 수 있습니다.', }, }, args: { size: '12px', color: 'gray', }, }; export default meta; type Story = StoryObj; export const Primary: Story = {}; export const Colors: Story = { args: { size: '12px', color: 'gray', }, render: (args) => ( ), };