Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
475
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. # ./components/SignUp.js
  2.  
  3. ...
  4.  
  5. <Text style={styles.authInputLabel}>Email</Text>
  6. <TextInput
  7. style={styles.authTextInput}
  8. autoCapitalize={'none'}
  9. keyboardType={'email-address'}
  10. placeholder={"example@email.com"}
  11. placeholderTextColor={'#fff'}
  12. #Set the state userEmail value to newly entered text
  13. onChangeText={(text) => this.setState({userEmail: text})}
  14. />
  15. <Text style={styles.authInputLabel}>Password</Text>
  16. <TextInput
  17. secureTextEntry={true}
  18. style={styles.authTextInput}
  19. placeholder={"password"}
  20. placeholderTextColor={'#fff'}
  21. #Set the state userPassword value to newly entered text
  22. onChangeText={(text) => this.setState({userPassword: text})}
  23. />
  24.  
  25. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement