mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 04:01:48 +08:00
12 lines
184 B
Plaintext
12 lines
184 B
Plaintext
```js
|
|
// .storybook/preview.js
|
|
|
|
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
|
|
|
|
export const parameters = {
|
|
viewport: {
|
|
viewports: INITIAL_VIEWPORTS,
|
|
},
|
|
};
|
|
```
|