mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 18:09:09 +00:00
feat(design-system): redesign tab-view around quick nav
This commit is contained in:
parent
a5f819bc3e
commit
2b7b245a0d
10 changed files with 268 additions and 53 deletions
|
@ -1,10 +1,12 @@
|
|||
import { BreakpointsProvider } from '@roleypoly/design-system/atoms/breakpoints';
|
||||
import { guildEnum } from '@roleypoly/design-system/fixtures/storyData';
|
||||
import * as React from 'react';
|
||||
import { guildEnum } from '../../fixtures/storyData';
|
||||
import { EditorShell } from './EditorShell';
|
||||
|
||||
export default {
|
||||
title: 'Organisms/Editor',
|
||||
component: EditorShell,
|
||||
decorators: [(story) => <BreakpointsProvider>{story()}</BreakpointsProvider>],
|
||||
};
|
||||
|
||||
export const Shell = () => <EditorShell guild={guildEnum.guildsList[0]} />;
|
||||
export const Shell = () => <EditorShell guild={guildEnum.guilds[0]} />;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { Tab, TabView } from '@roleypoly/design-system/atoms/tab-view';
|
||||
import { EditorCategory } from '@roleypoly/design-system/molecules/editor-category';
|
||||
import { PresentableGuild } from '@roleypoly/types';
|
||||
import * as React from 'react';
|
||||
import { EditorCategory } from '../../molecules/editor-category';
|
||||
import { CategoryContainer } from './EditorShell.styled';
|
||||
|
||||
type Props = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue