Skip to content

Commit

Permalink
Add opt-in support for MDXv2
Browse files Browse the repository at this point in the history
* Storybook addon-docs is depending on MDXv1
* This adds opt-in support for using MDXv2
* Migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#opt-in-mdx2-support
  • Loading branch information
endwaa committed May 2, 2022
1 parent 6a158f9 commit 077a6f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module.exports = {
"@storybook/addon-actions",
"@storybook/addon-essentials"
],
features: {
previewMdx2: true,
},
typescript: {
check: false,
checkOptions: {},
Expand Down

0 comments on commit 077a6f7

Please sign in to comment.