import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { PropsWithChildren } from 'react'; import * as Aria from "react-aria-components"; export interface TextAreaProps extends PropsWithChildren>, Pick, FlowComponentProps { /** Whether a character count should be displayed inside the field description. */ showCharacterCount?: boolean; /** * Whether the text area should grow if its content gets longer than its * initial height. */ autoResizeMaxRows?: number; /** Allows the user to manually resize the textArea horizontally. */ allowResize?: boolean | "horizontal" | "vertical"; /** @deprecated Use `allowResize` instead. */ allowHorizontalResize?: boolean; /** @deprecated Use `allowResize` instead. */ allowVerticalResize?: boolean; } /** @flr-generate all */ export declare const TextArea: import('react').FunctionComponent>; export default TextArea;