We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c0b6c commit a620045Copy full SHA for a620045
src/components/Simulator/WalletHome/__stories__/NFTList.stories.tsx
@@ -1,5 +1,7 @@
1
+import pickBy from "lodash/pickBy"
2
import type { Meta, StoryObj } from "@storybook/react/*"
3
4
+import { viewportModes } from "../../../../../.storybook/modes"
5
import { NFTList as Component } from "../NFTList"
6
7
import NFTImage from "@/public/images/deep-panic.png"
@@ -14,6 +16,13 @@ const meta = {
14
16
</div>
15
17
),
18
],
19
+ parameters: {
20
+ chromatic: {
21
+ modes: pickBy(viewportModes, (args) =>
22
+ ["base", "md"].includes(args.viewport)
23
+ ),
24
+ },
25
26
} satisfies Meta<typeof Component>
27
28
export default meta
0 commit comments