mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
WIP feature/Customers
This commit is contained in:
36
client/src/containers/Customers/CustomerNotTabs.js
Normal file
36
client/src/containers/Customers/CustomerNotTabs.js
Normal file
@@ -0,0 +1,36 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user