mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +00:00
chore: restructure project into yarn workspaces, remove next
This commit is contained in:
parent
49e308507e
commit
8d06327c03
266 changed files with 16466 additions and 3350 deletions
14
packages/design-system/templates/servers/Servers.tsx
Normal file
14
packages/design-system/templates/servers/Servers.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
|
||||
import { ServersListing } from '@roleypoly/design-system/organisms/servers-listing/ServersListing';
|
||||
import * as React from 'react';
|
||||
import { GuildSlug } from '../../../../src/common/types';
|
||||
|
||||
type ServerTemplateProps = Omit<AppShellProps, 'children'> & {
|
||||
guilds: GuildSlug[];
|
||||
};
|
||||
|
||||
export const ServersTemplate = (props: ServerTemplateProps) => (
|
||||
<AppShell {...props} disableGuildPicker>
|
||||
<ServersListing guilds={props.guilds}></ServersListing>
|
||||
</AppShell>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue