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 c029ea5 commit d3c0b6cCopy full SHA for d3c0b6c
src/components/Simulator/WalletHome/__stories__/NFTList.stories.tsx
@@ -0,0 +1,28 @@
1
+import type { Meta, StoryObj } from "@storybook/react/*"
2
+
3
+import { NFTList as Component } from "../NFTList"
4
5
+import NFTImage from "@/public/images/deep-panic.png"
6
7
+const meta = {
8
+ title: "Molecules / Display Content / Simulator / WalletHome / NFTList",
9
+ component: Component,
10
+ decorators: [
11
+ (Story) => (
12
+ <div className="w-full max-w-[300px]">
13
+ <Story />
14
+ </div>
15
+ ),
16
+ ],
17
+} satisfies Meta<typeof Component>
18
19
+export default meta
20
21
+export const NFTList: StoryObj = {
22
+ args: {
23
+ nfts: Array.from({ length: 5 }, () => ({
24
+ title: "Cool art",
25
+ image: NFTImage,
26
+ })),
27
+ },
28
+}
0 commit comments