feat: bill Drawer.

This commit is contained in:
elforjani3
2021-07-24 13:16:44 +02:00
parent 504b380da6
commit fabc8d3b4e
3 changed files with 29 additions and 4 deletions

View File

@@ -1,16 +1,19 @@
import React from 'react';
import { BillDrawerProvider } from './BillDrawerProvider';
import BillDrawerDetails from './BillDrawerDetails';
import BillDrawerAlerts from './BillDrawerAlerts';
/**
* Bill drawer content.
*/
export default function BillDrawerContent({
// #ownProp
billId,
bill,
}) {
return (
<BillDrawerProvider billId={billId}>
<BillDrawerProvider billId={bill}>
<BillDrawerDetails />
<BillDrawerAlerts />
</BillDrawerProvider>
);
}