Skip to content

Commit

Permalink
Merge pull request #3106 from mshaaban088/feature/add-viewport-addon-…
Browse files Browse the repository at this point in the history
…to-addon-gallery

Add `viewport` addon to the Addon Gallery
  • Loading branch information
Hypnosphi committed Mar 6, 2018
1 parent ee2fe8c commit a098d08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/src/pages/addons/addon-gallery/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ Redirects console output (logs, errors, warnings) into Action Logger Panel. `wit

With this addon, you can switch between background colors and background images for your preview components. It is really helpful for styleguides.

### [Viewport](https://github.com/storybooks/storybook/tree/master/addons/viewport)

Viewport allows your stories to be displayed in different sizes and layouts in [Storybook](https://storybookjs.org). This helps build responsive components inside of Storybook.

## Community Addons

You need to install these addons directly from NPM in order to use them.
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/test/snapshots/react_native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@storybook/addons": "^3.3.14",
"babel-core": "^6.26.0",
"react-dom": "16.0.0-alpha.12",
"prop-types": "^15.6.0"
"prop-types": "^15.6.1"
},
"jest": {
"preset": "react-native"
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/test/snapshots/react_native_scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@storybook/addons": "^3.3.14",
"babel-core": "^6.26.0",
"react-dom": "16.0.0-alpha.12",
"prop-types": "^15.6.0"
"prop-types": "^15.6.1"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
Expand Down

0 comments on commit a098d08

Please sign in to comment.