storybook/docs/snippets/common/storybook-preview-granular-viewports.js.mdx
2021-07-18 13:30:55 +10:00

11 lines
183 B
Plaintext

```js
// .storybook/preview.js
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
export const parameters = {
viewport: {
viewports: INITIAL_VIEWPORTS,
},
};
```