Created
October 11, 2017 11:12
-
-
Save ayberkanilatsiz/e6bd8d034efb57f5d4439d4eea4d4cc7 to your computer and use it in GitHub Desktop.
renderUsernameView
This file contains 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
renderUsernameView(){ | |
return( | |
<View style={ styles.container }> | |
<View style={ styles.textInputContainer }> | |
<TextInput | |
style={styles.textInput} | |
placeholder={'Username'} | |
onChangeText={(username) => this.setState({username})} | |
underlineColorAndroid={'transparent'} | |
value={this.state.text} | |
/> | |
</View> | |
<TouchableOpacity onPress={ this.start } style={styles.button}> | |
<Text style={ styles.buttonText }> | |
Lets Start! | |
</Text> | |
</TouchableOpacity> | |
</View> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment