mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
14 lines
552 B
TypeScript
14 lines
552 B
TypeScript
import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
|
|
import { ServersListing } from '@roleypoly/design-system/organisms/servers-listing/ServersListing';
|
|
import { GuildSlug } from '@roleypoly/types';
|
|
import * as React from 'react';
|
|
|
|
type ServerTemplateProps = Omit<AppShellProps, 'children'> & {
|
|
guilds: GuildSlug[];
|
|
};
|
|
|
|
export const ServersTemplate = (props: ServerTemplateProps) => (
|
|
<AppShell {...props} disableGuildPicker>
|
|
<ServersListing guilds={props.guilds}></ServersListing>
|
|
</AppShell>
|
|
);
|