mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-24 16:49:48 +00:00
27 lines
611 B
TypeScript
27 lines
611 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
import {
|
|
DrawerHeaderContent,
|
|
DrawerBody,
|
|
FormattedMessage as T,
|
|
} from '@/components';
|
|
|
|
import QuickCustomerFormDrawer from './QuickCustomerFormDrawer';
|
|
|
|
/**
|
|
* Quick create/edit customer drawer.
|
|
*/
|
|
export default function QuickCreateCustomerDrawerContent({ displayName }) {
|
|
return (
|
|
<React.Fragment>
|
|
<DrawerHeaderContent
|
|
name="quick-create-customer"
|
|
title={<T id={'create_a_new_customer'} />}
|
|
/>
|
|
<DrawerBody>
|
|
<QuickCustomerFormDrawer displayName={displayName} />
|
|
</DrawerBody>
|
|
</React.Fragment>
|
|
);
|
|
}
|