Skip to content

Commit

Permalink
[documentation] Fixed function signature (#6944)
Browse files Browse the repository at this point in the history
[documentation] Fixed function signature
  • Loading branch information
shilman authored Jun 3, 2019
2 parents 640d2ad + cead5bf commit 1d4fc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/storyshots/storyshots-puppeteer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
Expand Down

1 comment on commit 1d4fc22

@vercel
Copy link

@vercel vercel bot commented on 1d4fc22 Jun 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.