refactoring(invoice drawer): invoice drawer.

This commit is contained in:
elforjani3
2021-03-06 20:29:32 +02:00
parent fe5fc80ecb
commit 252f3b4617
6 changed files with 109 additions and 21 deletions

View File

@@ -0,0 +1,18 @@
import React from 'react';
import { InvoiceDrawerProvider } from './InvoiceDrawerProvider';
import InvoicePaper from './InvoicePaper';
/**
* Invoice drawer content.
*/
export default function InvoiceDrawerContent({
// #ownProp
invoiceId,
}) {
return (
<InvoiceDrawerProvider invoiceId={invoiceId}>
<InvoicePaper />
</InvoiceDrawerProvider>
);
}