File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/components/Simulator/screens/ConnectWeb3/__stories__ Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments