mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #1076 from stereodenis/patch-2
Update storyshots README.md example
This commit is contained in:
commit
e29c55da8e
@ -37,7 +37,7 @@ Create a new test file with the name `Storyshots.test.js`. (Or whatever the name
|
|||||||
Then add following content to it:
|
Then add following content to it:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import initStoryshots from 'storyshots';
|
import initStoryshots from '@storybook/addon-storyshots';
|
||||||
|
|
||||||
initStoryshots();
|
initStoryshots();
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user