Skip to content

Commit 57388fd

Browse files
feat(Simulator/screens/Web3App): create story
1 parent 7b666e5 commit 57388fd

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import type { Meta, StoryObj } from "@storybook/react/*"
2+
3+
import { Center } from "@/components/ui/flex"
4+
5+
import { EXAMPLE_APP_URL } from "../constants"
6+
import { Web3App as Component } from "../Web3App"
7+
8+
const meta = {
9+
title:
10+
"Molecules / Display Content / Simulator / ConnectWeb3 Screen / Web3App",
11+
component: Component,
12+
decorators: [
13+
(Story) => (
14+
<div className="relative h-[500px] w-[322px] overflow-hidden">
15+
<Story />
16+
</div>
17+
),
18+
],
19+
} satisfies Meta<typeof Component>
20+
21+
export default meta
22+
23+
export const Web3App: StoryObj<typeof meta> = {
24+
args: {
25+
appName: "NFT Marketplace",
26+
displayUrl: EXAMPLE_APP_URL,
27+
children: <Center>Slide content here</Center>,
28+
},
29+
}

0 commit comments

Comments
 (0)