import TextArea from '@/lib/components/TextArea'; import { commonArgTypes } from '@/lib/constants'; import { Meta, StoryObj } from '@storybook/vue3/*'; import { ref } from 'vue'; const meta = { title: 'Input Component/TextArea', component: { TextArea }, parameters: { layout: 'centered', themes: { themeOverride: 'dark' }, docs: { description: { component: '' } } }, argTypes: { radius: { ...commonArgTypes.radius, description: 'TextArea 의 둥굴기' }, size: { table: { category: 'Props', type: { summary: ['small', 'medium', 'large'].join(' | ') } }, control: { type: 'select' }, options: ['small', 'medium', 'large'], defaultValue: { summary: 'medium' }, description: 'TextArea 의 크기' }, scaling: { ...commonArgTypes.scaling, description: 'TextArea 비율' }, color: { ...commonArgTypes.color, description: 'TextArea' }, appearance: { table: { category: 'Props', type: { summary: ['classic', 'soft', 'surface'].join(' | ') } }, control: { type: 'select' }, defaultValue: { summary: 'surface' }, description: 'TextArea 스타일', options: ['classic', 'soft', 'surface'] } } } as Meta; export default meta; type Story = StoryObj; export const Default = { render: (args: any) => ({ components: { TextArea }, setup() { return { args }; }, template: `