storybook/docs/snippets/common/storybook-preview-change-viewports.js.mdx
2021-05-06 21:05:56 +01:00

10 lines
215 B
Plaintext

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