Files
bigcapital/client/src/containers/Drawers/BillDrawer/BillDrawerContent.js
2021-07-29 23:18:40 +02:00

23 lines
496 B
JavaScript

import React from 'react';
import 'style/components/Drawers/ViewDetail/ViewDetail.scss';
import { BillDrawerProvider } from './BillDrawerProvider';
import BillDrawerDetails from './BillDrawerDetails';
import BillDrawerAlerts from './BillDrawerAlerts';
/**
* Bill drawer content.
*/
export default function BillDrawerContent({
// #ownProp
bill,
}) {
return (
<BillDrawerProvider billId={bill}>
<BillDrawerDetails />
<BillDrawerAlerts />
</BillDrawerProvider>
);
}