import React from 'react' import UI from '../ui' import { useDisabledState } from '../../hooks/use-disabled-state' export type { TextareaProps } from './form.types' import type { TextareaProps } from './form.types' /** * Textarea component - Accessible multi-line text input with validation support * * A flexible textarea component that supports validation states, proper ARIA attributes * for accessibility, and an onEnter handler for keyboard interactions. The onEnter handler * fires only on Enter without Shift, allowing Shift+Enter to create new lines as expected. * * @component * @example * // Basic textarea *