soapbox/src/pages/admin-page.tsx

30 wiersze
571 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 IAdminPage {
children: React.ReactNode;
}
const AdminPage: React.FC<IAdminPage> = ({ children }) => {
return (
<>
<Layout.Main>
{children}
</Layout.Main>
<Layout.Aside>
<LatestAccountsPanel limit={5} />
<LinkFooter />
</Layout.Aside>
</>
);
};
export default AdminPage;