export interface BaseTextareaProps { /** * The form input identifier. */ id?: string /** * The placeholder text for the textarea. */ placeholder?: string /** * The number of rows to display in the textarea. */ rows?: number | string /** * Whether to allow the user to resize the textarea. */ resize?: boolean /** * Whether to automatically grow the textarea as text is entered. */ autogrow?: boolean /** * The maximum height of the textarea when autogrow is enabled. */ maxHeight?: number /** * The variant of the textarea. * * @default 'default' */ variant?: 'default' | 'muted' /** * The radius of the textarea. * * @default 'md' */ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' /** * The size of the textarea. * * @default 'md' */ size?: 'sm' | 'md' | 'lg' } export type BaseTextareaConfig = { variant: NonNullable rounded: NonNullable size: NonNullable }