Created
August 8, 2022 11:15
-
-
Save zinedkaloc/cd889991dd3305162398e73eb38cfa87 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
import { Link } from 'react-router-dom'; | |
export function Signup() { | |
return ( | |
// Create signup form with email, password, and submit button | |
<div style={{ margin: '20px 20px' }}> | |
<h1>Signup</h1> | |
<form> | |
<label>Email:</label> | |
<input type="text" name="email" /> | |
<label>Password:</label> | |
<input type="password" name="password" /> | |
<input type="submit" value="Signup" /> | |
</form> | |
<p> | |
{' '} | |
Already have an account? <Link to="/login">Login</Link> | |
</p> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment