Skip to content

Commit

Permalink
Fix documentation issue
Browse files Browse the repository at this point in the history
Issue #5968
  • Loading branch information
tmeasday authored Mar 8, 2019
1 parent 9c1837d commit 5c65336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/viewport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c65336

Please sign in to comment.