Last active
January 6, 2019 19:47
-
-
Save zaguiini/fbe9d5c522b4efdc88b97bb930ff4822 to your computer and use it in GitHub Desktop.
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
function login() { | |
// login logic here | |
} | |
class LoginForm extends React.PureComponent { | |
render() { | |
return ( | |
<form onSubmit={login}> | |
<input type="email" /><br /> | |
<input type="password" /><br /> | |
<button type="submit">Login</button> | |
</form> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment