Merge pull request #17905 from josh-degraw/next

docs: Fix reference to essentials configuration
This commit is contained in:
jonniebigodes 2022-04-14 15:06:48 +01:00 committed by GitHub
commit 3e1874a82d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Update your Storybook configuration (in [`.storybook/main.js`](../configure/over
<CodeSnippets
paths={[
'common/storybook-main-register-individual-actions-addon.js.mdx',
'common/storybook-main-register-essentials-addon.js.mdx',
]}
/>

View File

@ -0,0 +1,8 @@
```js
// .storybook/main.js
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
};
```