import type { InputBaseProps } from '@mui/material/InputBase'; import type { SxProps, Theme } from '@mui/material/styles'; export interface TextareaProps extends Omit { /** * Floating label rendered inside the field. Supplying it switches to the labelled layout whose * label animates to the top edge on focus / fill. */ label?: string; /** Show red error border */ error?: boolean; /** Minimum visible rows (default 3) */ minRows?: number; /** Maximum rows before scroll kicks in */ maxRows?: number; /** Placeholder text shown when the field is empty. In labelled mode it only appears on focus. */ placeholder?: string | null; /** MUI sx style overrides */ sx?: SxProps; }