From 5c65336367cf32b36c0ec054d7ecfa51941673d5 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Sat, 9 Mar 2019 10:48:20 +1100 Subject: [PATCH] Fix documentation issue Issue https://github.com/storybooks/storybook/issues/5968 --- addons/viewport/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/viewport/README.md b/addons/viewport/README.md index 5e9273e9b486..acfce52af035 100644 --- a/addons/viewport/README.md +++ b/addons/viewport/README.md @@ -89,7 +89,7 @@ import addStories from '@storybook/react'; addStories('Stories', module) // To set a default viewport for all the stories for this component .addParameters({ viewport: { defaultViewport: 'iphone6' }}) - .add('story', () => , { viewport: 'iphonex' }); + .add('story', () => , { viewport: { defaultViewport: 'iphonex' } }); ``` ## Examples