Files
bigcapital/packages/webapp/src/containers/Drawers/AccountDrawer/AccountDrawerContent.tsx
2023-02-03 01:02:31 +02:00

26 lines
571 B
TypeScript

// @ts-nocheck
import React from 'react';
import { DrawerBody } from '@/components';
import '@/style/components/Drawers/AccountDrawer.scss';
import { AccountDrawerProvider } from './AccountDrawerProvider';
import AccountDrawerDetails from './AccountDrawerDetails';
/**
* Account drawer content.
*/
export default function AccountDrawerContent({
// #ownProp
accountId,
name,
}) {
return (
<AccountDrawerProvider name={name} accountId={accountId}>
<DrawerBody>
<AccountDrawerDetails />
</DrawerBody>
</AccountDrawerProvider>
);
}