Guest User

Untitled

a guest
Dec 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <View style = {{flex: 1, flexDirection: 'row', alignItems: 'flex-start'} }>
  2. <TextInput
  3. style = {one.inputText1}
  4. placeholder = {" Please input n the first n number here."}
  5. placeholderTextColor = '#66FCF1'
  6. onChangeText = { this.handleChangedText }
  7. keyboardType = 'numeric'
  8. >
  9. </TextInput>
  10.  
  11. <TextInput
  12. style = {one.inputText2}
  13. placeholder = { "Please input n the second n number here." }
  14. placeholderTextColor = '#EDF5E1'
  15. onChangeText = { this.handleChangedText2 }
  16. keyboardType = 'numeric'
  17. >
  18. </TextInput>
  19. </View>
  20.  
  21. const one = StyleSheet.create({
  22.  
  23. txtDefault: {
  24. flex: 0.2,
  25. backgroundColor: 'white',
  26. alignItems: 'center',
  27. justifyContent:'center',
  28. fontSize: 30,
  29. textAlign: 'center',
  30. textAlignVertical: 'center',
  31. borderColor: 'black',
  32. borderWidth: 1,
  33. fontWeight: 'bold',
  34. color: '#242582',
  35.  
  36. },
  37.  
  38. inputText1: {
  39. backgroundColor: '#0B0C10',
  40. alignItems: 'center',
  41. justifyContent:'center',
  42. fontSize: 30,
  43. textAlign: 'center',
  44. textAlignVertical: 'center',
  45. width: 210,
  46. height: 570,
  47. fontWeight: 'bold',
  48. color: '#66FCF1',
  49. },
  50.  
  51. inputText2: {
  52. backgroundColor: '#1F2833',
  53. alignItems: 'center',
  54. justifyContent:'center',
  55. fontSize: 30,
  56. textAlign: 'center',
  57. textAlignVertical: 'center',
  58. width: 210,
  59. height: 570,
  60. fontWeight: 'bold',
  61. color: '#45A29E',
  62. },
Add Comment
Please, Sign In to add comment