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 Feb 27, 2018
2 parents a7a2b26 + 43938a3 commit c537cd6
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 @@ -23,7 +23,7 @@
"babel-core": "^6.26.0",
"babel-runtime": "^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 @@ -13,7 +13,7 @@
"babel-core": "^6.26.0",
"babel-runtime": "^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 c537cd6

Please sign in to comment.