Refactored Storybook UI (#2020)

* refactored Storybook UI

* refactored Storybook UI

* removed extra cards from the doc, added card for ui components
This commit is contained in:
Nimra Ahmed
2023-10-15 00:22:47 +05:00
committed by GitHub
parent 04090446cc
commit fa9303f545
94 changed files with 98 additions and 112 deletions

View File

@ -17,7 +17,7 @@ import NavItem from '../NavItem';
import NavTitle from '../NavTitle';
const meta: Meta<typeof MainNavbar> = {
title: 'UI/Navbar/MainNavbar',
title: 'UI/Navigation/Navbar/MainNavbar',
component: MainNavbar,
};

View File

@ -5,7 +5,7 @@ import { ComponentDecorator } from '~/testing/decorators/ComponentDecorator';
import NavCollapseButton from '../NavCollapseButton';
const meta: Meta<typeof NavCollapseButton> = {
title: 'UI/Navbar/NavCollapseButton',
title: 'UI/Navigation/Navbar/NavCollapseButton',
component: NavCollapseButton,
};

View File

@ -9,7 +9,7 @@ import { CatalogStory } from '~/testing/types';
import NavItem from '../NavItem';
const meta: Meta<typeof NavItem> = {
title: 'UI/Navbar/NavItem',
title: 'UI/Navigation/Navbar/NavItem',
component: NavItem,
};

View File

@ -14,7 +14,7 @@ import NavTitle from '../NavTitle';
import SubMenuNavbar from '../SubMenuNavbar';
const meta: Meta<typeof SubMenuNavbar> = {
title: 'UI/Navbar/SubMenuNavbar',
title: 'UI/Navigation/Navbar/SubMenuNavbar',
component: SubMenuNavbar,
};