mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
15 lines
590 B
TypeScript
15 lines
590 B
TypeScript
import { Tab, TabView } from '@roleypoly/design-system/atoms/tab-view';
|
|
import { EditorCategoriesTab } from '@roleypoly/design-system/organisms/editor-categories-tab';
|
|
import { PresentableGuild } from '@roleypoly/types';
|
|
|
|
export type EditorShellProps = {
|
|
guild: PresentableGuild;
|
|
};
|
|
|
|
export const EditorShell = (props: EditorShellProps) => (
|
|
<TabView initialTab={0}>
|
|
<Tab title="Guild Details">{() => <div>hi2!</div>}</Tab>
|
|
<Tab title="Categories & Roles">{() => <EditorCategoriesTab {...props} />}</Tab>
|
|
<Tab title="Utilities">{() => <div>hi2!</div>}</Tab>
|
|
</TabView>
|
|
);
|