Created
September 2, 2016 13:46
-
-
Save sminutoli/e0e97ca9a7b9c26221e7e40f73a3b8c6 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
const Login = ({isValid, isWaiting, error, onSignIn, onChange, username, password})=> { | |
return <div className="login"> | |
<form className="login__form" onSubmit={handleLogin}> | |
<h4 className="login__title center-align">Bienvenido a Warehouse</h4> | |
<Input | |
className="login__user" | |
name="username" | |
value={username} | |
disabled={isWaiting} | |
/> | |
<Input | |
className="login__password" | |
type="password" | |
name="password" | |
value={password} | |
disabled={isWaiting} | |
/> | |
{ isWaiting ? <ProgressBar className="login__message--loading col" /> : '' } | |
<Button | |
className="login__btn right" | |
disabled={isWaiting} | |
>Ingresar</Button> | |
</form> | |
</div> | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment