storybook/docs/snippets/common/storybook-preview-change-viewports.js.mdx
2020-10-07 12:23:34 +08:00

11 lines
216 B
Plaintext

```js
// .storybook/preview.js
export const parameters = {
viewport: {
viewports: newViewports, // newViewports would be an ViewportMap. (see below for examples)
defaultViewport: 'someDefault',
},
}
```