import { FC, Ref, TextareaHTMLAttributes } from 'react'; export interface TextAreaProps extends Omit, 'size'> { /** * Disables the textarea, preventing user input. * Also applies a visually disabled style. */ disabled?: boolean; /** * Optional class name applied to the textarea element. * Useful for styling overrides or scoped design rules. */ className?: string; /** * Placeholder text shown when the textarea is empty. */ placeholder?: string; /** * The current value of the textarea. * Can be a string or number. */ value?: string | number; /** * Visual size of the textarea. * Controls padding, font size, and height presets. */ size?: 'small' | 'medium' | 'large'; /** * Displays the textarea in an error state. */ error?: boolean; /** * Makes the textarea expand to fill the full width of its container. */ fullWidth?: boolean; /** * Ref forwarded to the native `