diff --git a/packages/design-system/.storybook/main.js b/packages/design-system/.storybook/main.js index e90bb07..f83f7bd 100644 --- a/packages/design-system/.storybook/main.js +++ b/packages/design-system/.storybook/main.js @@ -1,9 +1,9 @@ module.exports = { stories: [ + '../*.stories.mdx', ...['atoms', 'molecules', 'organisms', 'templates'].map( (dir) => `../${dir}/**/*.stories.@(tsx|mdx)` ), - '*.stories.mdx', ], addons: ['@storybook/addon-links', '@storybook/addon-essentials'], reactOptions: { diff --git a/packages/design-system/.storybook/mocks/next_link.tsx b/packages/design-system/.storybook/mocks/next_link.tsx deleted file mode 100644 index 393ff9d..0000000 --- a/packages/design-system/.storybook/mocks/next_link.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import * as React from 'react'; - -type Props = { - children: React.ReactNode; -}; -const Link = (props: Props) => <>{props.children}; - -export default Link; diff --git a/packages/design-system/.storybook/Intro.stories.mdx b/packages/design-system/Intro.stories.mdx similarity index 100% rename from packages/design-system/.storybook/Intro.stories.mdx rename to packages/design-system/Intro.stories.mdx