Skip to content

Commit

Permalink
Docs: Fix global viewports options example
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Nov 11, 2024
1 parent 3b22843 commit aab26d9
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 aab26d9

Please sign in to comment.