mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
24 lines
534 B
TypeScript
24 lines
534 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
import { DrawerBody } from '@/components';
|
|
|
|
import InvoiceDetail from './InvoiceDetail';
|
|
import { InvoiceDetailDrawerProvider } from './InvoiceDetailDrawerProvider';
|
|
|
|
/**
|
|
* Invoice detail drawer content.
|
|
* @returns {React.JSX}
|
|
*/
|
|
export default function InvoiceDetailDrawerContent({
|
|
// #ownProp
|
|
invoiceId,
|
|
}) {
|
|
return (
|
|
<InvoiceDetailDrawerProvider invoiceId={invoiceId}>
|
|
<DrawerBody>
|
|
<InvoiceDetail />
|
|
</DrawerBody>
|
|
</InvoiceDetailDrawerProvider>
|
|
);
|
|
}
|