MIGRATE addon-docs documentation to triconfig

This commit is contained in:
Norbert de Langen 2019-11-26 12:59:12 +01:00
parent 8a76b43e2e
commit 694f09cf6d
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ You can replace DocsPage at any level by overriding the `docs.page` parameter:
- [With MDX](./recipes.md#csf-stories-with-mdx-docs) docs
- With a custom React component
**Globally (config.js)**
**Globally (preview.js)**
```js
import { addParameters } from '@storybook/react';

View File

@ -165,7 +165,7 @@ To add [decorators](https://github.com/storybookjs/storybook/blob/next/docs/src/
</Story>
```
In addition, global decorators work just like before, e.g. adding the following to your `.storybook/config.js`:
In addition, global decorators work just like before, e.g. adding the following to your `.storybook/preview.js`:
```js
import { addDecorator, addParameters } from '@storybook/react';