Merge pull request #29589 from storybookjs/viewports-global-options-example

Docs: Fix global viewports options example
This commit is contained in:
Kyle Gach 2024-11-12 13:55:45 -07:00 committed by GitHub
commit 53ffd11c53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
export default {
parameters: {
viewport: {
viewports: INITIAL_VIEWPORTS,
options: INITIAL_VIEWPORTS,
},
},
initialGlobals: {
@ -20,7 +20,7 @@ import { Preview } from '@storybook/your-renderer';
const preview: Preview = {
parameters: {
viewport: {
viewports: INITIAL_VIEWPORTS,
options: INITIAL_VIEWPORTS,
},
},
initialGlobals: {