pleroma/src/layouts/admin-layout.tsx
marcin mikołajczak 7cc98b7293 Rename pages to layouts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-24 15:01:35 +02:00

25 lines
549 B
TypeScript

import React from 'react';
import { Layout } from 'soapbox/components/ui';
import { LatestAccountsPanel } from 'soapbox/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 };