/// <reference types="react" />
export interface TextAreaProps {
    /** String to make component be unique.*/
    id?: string;
    /** Name given to the TextArea component.*/
    name?: string;
    /** Label related to the textarea.*/
    label?: string;
    /** Extra style to add by props.*/
    style?: React.CSSProperties;
    /** String that is taken by the form when submitted.*/
    value?: string;
    /** Minimum number of characters to be written in TextArea (only apply when isRequired == true).*/
    minLength?: number;
    /** Maximum number of characters to be written in TextArea.*/
    maxLength?: number;
    /** Text inside TextArea when nothing has been typed.*/
    placeholder?: string;
    /** If true, the content inside TextArea cannot be changed.*/
    isReadOnly?: boolean;
    /** If true, the TextArea is rendered as disabled.*/
    isDisabled?: boolean;
    /** If true, TextArea needs to be filled.*/
    isRequired?: boolean;
    /** Name of class to extend css properties.*/
    className?: string;
    /** Action taken when something changes.*/
    onChange?: (e: any) => void;
}
