From cead5bfaf5b28100449c653fe03a84b7bfa99e1e Mon Sep 17 00:00:00 2001 From: Evan Bacon Date: Sun, 2 Jun 2019 17:01:02 -0700 Subject: [PATCH] Fixed function signature --- addons/storyshots/storyshots-puppeteer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/storyshots/storyshots-puppeteer/README.md b/addons/storyshots/storyshots-puppeteer/README.md index cef93e5f8e11..f9a3d91bb1d8 100644 --- a/addons/storyshots/storyshots-puppeteer/README.md +++ b/addons/storyshots/storyshots-puppeteer/README.md @@ -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. }