mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
Fixed function signature
This commit is contained in:
parent
c7953db73a
commit
cead5bfaf5
@ -120,7 +120,7 @@ You might use `getScreenshotOptions` to specify options for screenshot. Will be
|
||||
```js
|
||||
import initStoryshots from '@storybook/addon-storyshots';
|
||||
import { imageSnapshot } from '@storybook/addon-storyshots-puppeteer';
|
||||
const getScreenshotOptions = ({context, url}) {
|
||||
const getScreenshotOptions = ({context, url}) => {
|
||||
return {
|
||||
fullPage: false // Do not take the full page screenshot. Default is 'true' in Storyshots.
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user