v3/packages/design-system/templates/server-setup/ServerSetup.tsx

18 lines
534 B
TypeScript

import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
import {
ServerSetup,
ServerSetupProps,
} from '@roleypoly/design-system/organisms/server-setup/ServerSetup';
type ServerSetupTemplateProps = Omit<AppShellProps, 'children'> & ServerSetupProps;
export const ServerSetupTemplate = ({
guildSlug,
...appShellProps
}: ServerSetupTemplateProps) => {
return (
<AppShell {...appShellProps} activeGuildId={guildSlug.id}>
<ServerSetup guildSlug={guildSlug} />
</AppShell>
);
};