import { useField } from 'react-final-form'; import { FieldProps, UiOptionsTextArea } from './types'; import { Label } from './Label'; import { Input, Tooltip } from 'antd'; import InfoBubble from './InfoBubble'; import FieldContainer from './FieldContainer'; import { getError } from './utils'; const { TextArea } = Input; export const FieldTextTextArea = ({ options, ...props }: FieldProps & { options: UiOptionsTextArea }) => { const field = useField(props.name); const hasError = getError(field.meta); return (