Created
September 1, 2016 20:46
-
-
Save sminutoli/0f4b479b7bba5d57470bd0adaa15ab5d 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
import React, { PropTypes } from 'react'; | |
const Login = ({isValid, isWaiting, error, onSignIn, onChange, username, password})=> { | |
return <div>Mr Boombastic</div> | |
}; | |
Login.propTypes = { | |
username: PropTypes.string, | |
password: PropTypes.string, | |
isValid: PropTypes.bool, | |
isWaiting: PropTypes.bool, | |
error: PropTypes.object, | |
onSignIn: PropTypes.func.isRequired, | |
onChange: PropTypes.func.isRequired | |
}; | |
export default Login; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment