Last active
April 25, 2020 02:18
-
-
Save joaovitorzv/cb0170921332a691b787f0d8bbb07e14 to your computer and use it in GitHub Desktop.
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
{({ handleSubmit, handleChange, values, touched, isSubmitting, errors, handleBlur }) => ( | |
<form onSubmit={handleSubmit}> | |
<input | |
name="name" | |
onChange={handleChange} | |
value={values.name} | |
type="text" | |
placeholder="Full name" | |
/> | |
<input | |
name="email" | |
onChange={handleChange} | |
value={values.email} | |
type="text" | |
placeholder="Email" | |
/> | |
<input | |
name="password" | |
onChange={handleChange} | |
value={values.password} | |
type="password" | |
placeholder="Password" | |
/> | |
<input | |
name="confirm_password" | |
onChange={handleChange} | |
value={values.confirm_password} | |
type="password" | |
placeholder="Confirm password" | |
/> | |
<button type="submit"> | |
Create account | |
</button> | |
</form> | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment