mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
refactoring(invoice drawer): invoice drawer.
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user