import { TSizeAll } from '../../index.ts'; import { ReactNode, TextareaHTMLAttributes } from 'react'; export interface ITextareaProps extends TextareaHTMLAttributes { /** * label text for textarea accessibility */ label?: string | ReactNode; /** * does textarea have a transparent background? * @default false */ transparent?: boolean; /** * input is in error state * @deprecated use error instead */ hasError?: boolean; /** * select is in error state * @example `error={true}` or `error="Error message to display"` */ error?: boolean | string; /** * set the size of the element * @default 'md' */ size?: TSizeAll; /** * allow textarea to be resized * @default true */ resize?: boolean; } //# sourceMappingURL=types.d.ts.map