Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
onTypeEmail(email) {
return this.setState({ email });
}
onTypePassword(password) {
this.setState({ password });
}
render() {
return (
<View style={login.container}>
<EmailInput
value={this.state.email}
onChangeText={this.onTypeEmail}
placeholder={'Username or Email'}
autoFocus
/>
<PasswordInput
value={this.state.password}
onChangeText={this.onTypePassword}
placeholder={'Password'}
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.