storybook/docs/_snippets/storybook-preview-viewport-add-devices.md
2024-06-13 17:53:08 +01:00

20 lines
340 B
Markdown

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