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

11 lines
183 B
Plaintext

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