bigbuffet-rw/packages/pl-fe/src/layouts/admin-layout.tsx
marcin mikołajczak 525088ca2e pl-fe: Avoid barrel imports
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-19 14:34:03 +02:00

25 lines
548 B
TypeScript

import React from 'react';
import Layout from 'pl-fe/components/ui/layout';
import { LatestAccountsPanel } from 'pl-fe/features/ui/util/async-components';
import LinkFooter from '../features/ui/components/link-footer';
interface IAdminLayout {
children: React.ReactNode;
}
const AdminLayout: React.FC<IAdminLayout> = ({ children }) => (
<>
<Layout.Main>
{children}
</Layout.Main>
<Layout.Aside>
<LatestAccountsPanel limit={5} />
<LinkFooter />
</Layout.Aside>
</>
);
export { AdminLayout as default };