import * as React from "react"; import { AbstractPureComponent } from "../../common"; import { type IntentProps, type Props } from "../../common/props"; export interface TextAreaProps extends IntentProps, Props, React.TextareaHTMLAttributes { /** * Set this to `true` if you will be controlling the `value` of this input with asynchronous updates. * These may occur if you do not immediately call setState in a parent component with the value from * the `onChange` handler, or if working with certain libraries like __redux-form__. * * @default false */ asyncControl?: boolean; /** * Whether the component should automatically resize vertically as a user types in the text input. * This will disable manual resizing in the vertical dimension. * * @default false */ autoResize?: boolean; /** * Whether the text area should take up the full width of its container. * * @default false */ fill?: boolean; /** * Whether the text area should automatically grow vertically to accomodate content. * * @deprecated use the `autoResize` prop instead. */ growVertically?: boolean; /** * Ref handler that receives HTML `