import type { ReactNode } from 'react'; import type { BaseFormComponentProps, LabelProps } from '../../types'; type TextAreaProps = BaseFormComponentProps & LabelProps & { tabIndex?: number; value?: string; onChange: (newValue: string) => void; placeholder?: string; /** * Override others properties : success, error. * Ignored if following props are provided : disabled. */ readOnly?: boolean; /** * Override others properties : error, helper. * Ignored if following props are provided : disabled, readyOnly. */ success?: string; /** * Override others properties : helper. * Ignored if following props are provided : disabled, readyOnly, success. */ error?: string; /** * Number of rows to display. If 'auto', the textarea will grow with the content */ rows?: number | 'auto'; /** * Text area will grow with the content with a maximum number of rows. */ maxRows?: number; minLength?: number; maxLength?: number; size?: 'small' | 'medium' | 'large'; tooltip?: string; clearable?: boolean; labelDescription?: ReactNode; }; /** * This component offers an extended textarea HTML */ export declare const TextArea: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=index.d.ts.map