soapbox/src/pages/manage-groups-page.tsx

27 wiersze
602 B
TypeScript

import React from 'react';
import { Layout } from 'soapbox/components/ui';
import LinkFooter from 'soapbox/features/ui/components/link-footer';
import { MyGroupsPanel, NewGroupPanel } from 'soapbox/features/ui/util/async-components';
interface IGroupsPage {
children: React.ReactNode;
}
/** Page to display groups. */
const ManageGroupsPage: React.FC<IGroupsPage> = ({ children }) => (
<>
<Layout.Main>
{children}
</Layout.Main>
<Layout.Aside>
<NewGroupPanel />
<MyGroupsPanel />
<LinkFooter />
</Layout.Aside>
</>
);
export default ManageGroupsPage;