Skip to content

Instantly share code, notes, and snippets.

@sminutoli
Created September 1, 2016 20:46
Show Gist options
  • Save sminutoli/0f4b479b7bba5d57470bd0adaa15ab5d to your computer and use it in GitHub Desktop.
Save sminutoli/0f4b479b7bba5d57470bd0adaa15ab5d to your computer and use it in GitHub Desktop.
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