Skip to content

Commit

Permalink
Merge pull request #29589 from storybookjs/viewports-global-options-e…
Browse files Browse the repository at this point in the history
…xample

Docs: Fix global viewports options example
  • Loading branch information
kylegach authored Nov 12, 2024
2 parents 7d3bbd7 + f4b7014 commit 53ffd11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_snippets/addon-viewport-options-in-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';
export default {
parameters: {
viewport: {
viewports: INITIAL_VIEWPORTS,
options: INITIAL_VIEWPORTS,
},
},
initialGlobals: {
Expand All @@ -20,7 +20,7 @@ import { Preview } from '@storybook/your-renderer';
const preview: Preview = {
parameters: {
viewport: {
viewports: INITIAL_VIEWPORTS,
options: INITIAL_VIEWPORTS,
},
},
initialGlobals: {
Expand Down

0 comments on commit 53ffd11

Please sign in to comment.