mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
17 lines
562 B
TypeScript
17 lines
562 B
TypeScript
import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
|
|
import {
|
|
EditorShell,
|
|
EditorShellProps,
|
|
} from '@roleypoly/design-system/organisms/editor-shell';
|
|
|
|
export const EditorTemplate = (
|
|
props: EditorShellProps & Omit<AppShellProps, 'children'>
|
|
) => {
|
|
const { guild, onCategoryChange, onMessageChange, onGuildChange, ...appShellProps } =
|
|
props;
|
|
return (
|
|
<AppShell {...appShellProps} activeGuildId={guild.id} small double>
|
|
<EditorShell guild={guild} onGuildChange={onGuildChange} />
|
|
</AppShell>
|
|
);
|
|
};
|