Last active
May 18, 2020 17:28
-
-
Save wdchris/7d009b67e39ba89d4aa0d4b92bca27a2 to your computer and use it in GitHub Desktop.
Sample React markup for Netlify forms
This file contains 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
<form | |
name="register" | |
data-netlify="true" | |
data-netlify-honeypot="sneaky-sneaky" | |
onSubmit={handleSubmit} | |
> | |
<input | |
type="text" | |
name="email" | |
placeholder="Enter your email" | |
onChange={e => setEmail(e.target.value)} | |
></input> | |
<button type="submit">Register</button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment