Last active
July 22, 2022 12:39
-
-
Save jobenjada/c4f5101d745ffdcedff47b32ff6bb432 to your computer and use it in GitHub Desktop.
snoopForm Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SnoopForm | |
domain="localhost:3000" | |
protocol="http" | |
className="w-full space-y-6" | |
onSubmit={({ submission, schema })=>{}}> | |
<SnoopPage name="first"> | |
<SnoopElement | |
type="text" | |
name={"name"} | |
label="Your name" | |
classNames={{ | |
label: "your-label-class", | |
element: "your-input-class",}} | |
required/> | |
</SnoopPage> | |
<SnoopPage thankyou> | |
<h1>Thank you!</h1> | |
</SnoopPage> | |
</SnoopForm> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment