Skip to content

Commit

Permalink
feat(.storybook): added support for mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
pethel committed Sep 22, 2024
1 parent daf7574 commit a5272e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ function getAbsolutePath(value: string): any {
}

const config: StorybookConfig = {
stories: ['../packages/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
stories: [
'../packages/**/*.stories.@(js|jsx|mjs|ts|tsx)',
'../packages/**/*.@(mdx)',
],
addons: [
getAbsolutePath('@storybook/addon-links'),
getAbsolutePath('@storybook/addon-essentials'),
Expand Down

0 comments on commit a5272e9

Please sign in to comment.