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

@ -6,7 +6,7 @@ import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWith
import { ContactLink } from '../ContactLink';
const meta: Meta<typeof ContactLink> = {
title: 'UI/Link/ContactLink',
title: 'UI/Navigation/Link/ContactLink',
component: ContactLink,
decorators: [ComponentWithRouterDecorator],
args: {

View File

@ -8,7 +8,7 @@ import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWith
import { RawLink } from '../RawLink';
const meta: Meta<typeof RawLink> = {
title: 'UI/Link/RawLink',
title: 'UI/Navigation/Link/RawLink',
component: RawLink,
decorators: [ComponentWithRouterDecorator],
args: {

View File

@ -8,7 +8,7 @@ import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWith
import { RoundedLink } from '../RoundedLink';
const meta: Meta<typeof RoundedLink> = {
title: 'UI/Link/RoundedLink',
title: 'UI/Navigation/Link/RoundedLink',
component: RoundedLink,
decorators: [ComponentWithRouterDecorator],
args: {

View File

@ -8,7 +8,7 @@ import { ComponentWithRouterDecorator } from '~/testing/decorators/ComponentWith
import { LinkType, SocialLink } from '../SocialLink';
const meta: Meta<typeof SocialLink> = {
title: 'UI/Link/SocialLink',
title: 'UI/Navigation/Link/SocialLink',
component: SocialLink,
decorators: [ComponentWithRouterDecorator],
args: {