import React, { LegacyRef } from 'react'; import classNames from 'classnames'; import { InjectedFieldProps } from '../Field/InjectedFieldProps'; import { FormDefaults } from '../FormDefaults'; import Group, { GroupProps } from '../Group'; export interface TextAreaGroupProps extends InjectedFieldProps, Omit< React.HTMLProps, keyof InjectedFieldProps | 'children' | 'className' | 'label' >, Omit | 'children'> { icon?: React.ReactNode; } function TextAreaGroup( { input, meta, label, helpText, className, required, disabled, icon, ...rest }: TextAreaGroupProps, ref: LegacyRef ) { return ( {icon}