import { SyntheticEvent } from 'react'; interface Props { /** @ignore */ style?: Record; /** @ignore */ className?: string; /** Characters limit of textarea */ maxLength?: number; /** Allow user to continue to type when the characters count over `maxLength` */ allowExceed?: boolean; /** * Callback function, to be executed when user type in textarea * * @param {SyntheticEvent} event https://reactjs.org/docs/events.html */ onChange?: (_e: SyntheticEvent) => void; /** * Callback function, to be executed when user focus on textarea * * @param {SyntheticEvent} event https://reactjs.org/docs/events.html */ onFocus?: (_e: SyntheticEvent) => void; /** * Callback function, to be executed when user blur on textarea * * @param {SyntheticEvent} event https://reactjs.org/docs/events.html */ onBlur?: (_e: SyntheticEvent) => void; /** Name of the component */ name: string; /** Label of the component */ label?: string; /** Error message of the component */ error?: string; /** Message to be shown at the bottom of component. Use `{{charactersLeft}}` for the * characters remaining, use `{{count}}` for characters count */ limitMsg?: string; /** Message to be shown at the bottom of component, when the characters count over * `maxLength`. Use `{{charactersExceed}}` for the characters exceed count, use `{{count}}` for * characters count */ exceedLimitMsg?: string; /** Textarea content value */ value?: string; /** Initial textarea content value, use it if you want to leave the component * [uncontrolled](https://reactjs.org/docs/uncontrolled-components.html) */ defaultValue?: string; /** @ignore */ readOnly?: boolean; /** @deprecated Please use `allowExceed` */ disableForceLimit?: boolean; /** @deprecated Please use `limitMsg` */ characterLimitMsgGenerator?: (_charsLeft: number) => string; /** @deprecated Please use `exceedLimitMsg` */ exceedLimitMsgGenerator?: (_excessChars: number) => string; /** Rest Props */ [rest: string]: any; } declare const TextArea: import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export default TextArea;