diff --git a/docs/_snippets/addon-viewport-options-in-preview.md b/docs/_snippets/addon-viewport-options-in-preview.md index 332b1e171235..c342682af443 100644 --- a/docs/_snippets/addon-viewport-options-in-preview.md +++ b/docs/_snippets/addon-viewport-options-in-preview.md @@ -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: {