import type { Meta, StoryObj } from '@storybook/react' import { Textarea } from './Textarea' const meta: Meta = { title: 'Form/Textarea', component: Textarea, parameters: { layout: 'centered', }, argTypes: { size: { control: 'select', options: ['default', 'sm'], }, error: { control: 'boolean', }, disabled: { control: 'boolean', }, placeholder: { control: 'text', }, }, args: { placeholder: 'Type something...', disabled: false, error: false, }, } export default meta type Story = StoryObj export const Default: Story = { args: { size: 'default', }, } export const Small: Story = { args: { size: 'sm', }, } export const Error: Story = { args: { error: true, }, } export const Disabled: Story = { args: { disabled: true, }, }