diff --git a/src/components/BadgeDefaults.stories.tsx b/src/examples/BadgeDefaults.stories.tsx similarity index 92% rename from src/components/BadgeDefaults.stories.tsx rename to src/examples/BadgeDefaults.stories.tsx index d1dc2a2..531fb4b 100644 --- a/src/components/BadgeDefaults.stories.tsx +++ b/src/examples/BadgeDefaults.stories.tsx @@ -1,8 +1,8 @@ import type { Meta, StoryObj } from '@storybook/react' -import { Badge, getBadgeProps } from './Badge' +import { Badge, getBadgeProps } from '../components/Badge' import { defaultConfig } from '../defaultConfig' -import { mockEntry } from '../examples/__fixtures__/HashEntry' +import { mockEntry } from './__fixtures__/HashEntry' const meta: Meta = { title: 'Addon/Default Config', diff --git a/src/components/BadgeWorkflows.stories.tsx b/src/examples/BadgeWorkflows.stories.tsx similarity index 97% rename from src/components/BadgeWorkflows.stories.tsx rename to src/examples/BadgeWorkflows.stories.tsx index 1f06c70..3d04431 100644 --- a/src/components/BadgeWorkflows.stories.tsx +++ b/src/examples/BadgeWorkflows.stories.tsx @@ -2,7 +2,7 @@ import React from 'react' import type { Meta, StoryObj } from '@storybook/react' import { Title, Stories } from '@storybook/blocks' -import { Badge, getBadgeProps } from './Badge' +import { Badge, getBadgeProps } from '../components/Badge' import { brandComponents, byMarket, @@ -10,8 +10,8 @@ import { composition, dependencies, smartComponents, -} from '../examples/sampleWorkflows' -import { mockEntry } from '../examples/__fixtures__/HashEntry' +} from './sampleWorkflows' +import { mockEntry } from './__fixtures__/HashEntry' import { TagBadgeParameters } from 'src/types/TagBadgeParameters' import { styled } from '@storybook/theming' import toSource from 'tosource'