Skip to content

Commit 136463c

Browse files
committed
[dropdown-width] reconfigure viewports
1 parent 63838d1 commit 136463c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const parameters: Preview["parameters"] = {
125125
},
126126
},
127127
viewport: {
128-
viewports: wbViewports,
128+
options: wbViewports,
129129
},
130130
};
131131

__docs__/wonder-blocks-dropdown/action-menu-testing-snapshots.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ export const Scenarios: Story = {
7979
</ScenariosLayout>
8080
);
8181
},
82-
parameters: {
82+
globals: {
8383
viewport: {
84-
defaultViewport: "small",
84+
value: "small",
8585
},
8686
},
8787
};

__docs__/wonder-blocks-dropdown/multi-select-testing-snapshots.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,9 @@ export const Scenarios: Story = {
173173
</ScenariosLayout>
174174
);
175175
},
176-
parameters: {
176+
globals: {
177177
viewport: {
178-
defaultViewport: "small",
178+
value: "small",
179179
},
180180
},
181181
};

__docs__/wonder-blocks-dropdown/single-select-testing-snapshots.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ export const Scenarios: Story = {
190190
</ScenariosLayout>
191191
);
192192
},
193-
parameters: {
193+
globals: {
194194
viewport: {
195-
defaultViewport: "small",
195+
value: "small",
196196
},
197197
},
198198
};

0 commit comments

Comments
 (0)