feat: account drawer.

This commit is contained in:
elforjani3
2021-04-27 15:58:37 +02:00
parent 5bb31f783c
commit 5b62410afa
14 changed files with 437 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
import React from 'react';
import AccountDrawerActionBar from './AccountDrawerActionBar';
import AccountDrawerHeader from './AccountDrawerHeader';
import AccountDrawerTable from './AccountDrawerTable';
import { useAccountDrawerContext } from './AccountDrawerProvider';
import 'style/components/Drawer/AccountDrawer.scss';
/**
* Account view details.
*/
export default function AccountDrawerDetails() {
const { account, accounts } = useAccountDrawerContext();
return (
<div className={'account-drawer'}>
<AccountDrawerActionBar account={account} />
<AccountDrawerHeader account={account} />
<AccountDrawerTable />
</div>
);
}