diff --git a/addons/viewport/src/preview/withViewport.js b/addons/viewport/src/preview/withViewport.js index a20e31f082a7..4ddb2df239b1 100644 --- a/addons/viewport/src/preview/withViewport.js +++ b/addons/viewport/src/preview/withViewport.js @@ -33,6 +33,7 @@ const applyViewportOptions = (options = {}) => { const withViewport = makeDecorator({ name: 'withViewport', parameterName: 'viewport', + allowDeprecatedUsage: true, wrapper: (getStory, context, { options, parameters }) => { const storyOptions = parameters || options; const viewportOptions =