mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
37 lines
850 B
JavaScript
37 lines
850 B
JavaScript
import React from 'react';
|
|
import {
|
|
Button,
|
|
Classes,
|
|
FormGroup,
|
|
InputGroup,
|
|
Intent,
|
|
TextArea,
|
|
MenuItem,
|
|
} from '@blueprintjs/core';
|
|
import { FormattedMessage as T, useIntl } from 'react-intl';
|
|
import ErrorMessage from 'components/ErrorMessage';
|
|
|
|
const CustomerBillingAddress = ({
|
|
formik: { errors, touched, setFieldValue, getFieldProps },
|
|
}) => {
|
|
return (
|
|
<div>
|
|
<FormGroup
|
|
label={<T id={'note'} />}
|
|
// className={'form-group--description'}
|
|
intent={errors.note && touched.note && Intent.DANGER}
|
|
helperText={<ErrorMessage name="note" {...{ errors, touched }} />}
|
|
inline={true}
|
|
>
|
|
<TextArea
|
|
growVertically={true}
|
|
large={true}
|
|
{...getFieldProps('note')}
|
|
/>
|
|
</FormGroup>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default CustomerBillingAddress;
|