mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 20:09:11 +00:00
18 lines
534 B
TypeScript
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>
|
|
);
|
|
};
|