Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add viewport addon to the Addon Gallery #3106

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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