import React from 'react'; import { Props } from '../../../common'; interface ITextAreaInputProps { /** ID of the input */ id?: string; /** Name of the input */ name: string; /** Custom classname to use */ className?: string; /** If true, adds invalid input class to component */ isInvalid?: boolean; /** Function passed to `onChange` prop */ handleChange?: React.ChangeEventHandler; /** Called when the input is changed */ onChange?: (value: string) => void; /** Value of the input */ value?: string; /** If true, sets input to disabled state */ isDisabled?: boolean; /** Number of rows to initially display */ rows?: number; /** Placeholder text to display when input is empty */ placeholder?: string; /** If true, use HTML5 required attribute */ isHTML5Required?: boolean; /** Value of the selected gif url */ gifUrl?: string; /** Gives parent access to the gif url when it is selected */ handleGifChange?: (url: string) => void; /** Margins around the text area */ margins?: Props.IMargins; /** The component context */ componentContext?: string; /** Label for accessibility */ 'aria-label'?: string; } declare const TextAreaInput: React.FC>; export { ITextAreaInputProps, TextAreaInput };