import { Form } from 'antd' ; import { t } from '@lingui/macro' ; import TextArea from 'antd/lib/input/TextArea' ; import { FormItemExt } from './formItemExt' ; export default function ProjectPayDisclosure ( { name , hideLabel , formItemProps , } ) { return ( < Form . Item name = { name } label = { hideLabel ? undefined : t `Pay disclosure` } extra = { t `This text will be displayed to your supporters before they complete their payment.` } { ... formItemProps } > < TextArea autoComplete = "off" / > < /Form.Item>); }