import type { Meta, StoryObj } from '@storybook/react' import { useState } from 'react' import { TextArea } from './TextArea' const meta = { title: 'Components/TextArea', component: TextArea, argTypes: { readOnly: { control: 'boolean', }, disabled: { control: 'boolean', }, }, } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { args: { placeholder: '내용을 입력하세요', className: 'w-80 h-32', }, } export const WithValue: Story = { render: function Render() { const [value, setValue] = useState('기본 텍스트 내용입니다.') return (