storybook/docs/snippets/common/storybook-preview-viewport-add-devices.js.mdx
2022-11-17 16:33:22 +01:00

21 lines
297 B
Plaintext

```js
// .storybook/preview.js
const customViewports = {
kindleFire2: {
name: 'Kindle Fire 2',
styles: {
width: '600px',
height: '963px',
},
},
kindleFireHD: {
name: 'Kindle Fire HD',
styles: {
width: '533px',
height: '801px',
},
},
};
```