mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-18 02:19:09 +00:00
feat(design-system): add editor skeletons
This commit is contained in:
parent
a37d481b18
commit
9e4bcfa79b
9 changed files with 53 additions and 30 deletions
|
@ -0,0 +1,15 @@
|
|||
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>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue