Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <View style = {{flex: 1, flexDirection: 'row', alignItems: 'flex-start'} }>
- <TextInput
- style = {one.inputText1}
- placeholder = {" Please input n the first n number here."}
- placeholderTextColor = '#66FCF1'
- onChangeText = { this.handleChangedText }
- keyboardType = 'numeric'
- >
- </TextInput>
- <TextInput
- style = {one.inputText2}
- placeholder = { "Please input n the second n number here." }
- placeholderTextColor = '#EDF5E1'
- onChangeText = { this.handleChangedText2 }
- keyboardType = 'numeric'
- >
- </TextInput>
- </View>
- const one = StyleSheet.create({
- txtDefault: {
- flex: 0.2,
- backgroundColor: 'white',
- alignItems: 'center',
- justifyContent:'center',
- fontSize: 30,
- textAlign: 'center',
- textAlignVertical: 'center',
- borderColor: 'black',
- borderWidth: 1,
- fontWeight: 'bold',
- color: '#242582',
- },
- inputText1: {
- backgroundColor: '#0B0C10',
- alignItems: 'center',
- justifyContent:'center',
- fontSize: 30,
- textAlign: 'center',
- textAlignVertical: 'center',
- width: 210,
- height: 570,
- fontWeight: 'bold',
- color: '#66FCF1',
- },
- inputText2: {
- backgroundColor: '#1F2833',
- alignItems: 'center',
- justifyContent:'center',
- fontSize: 30,
- textAlign: 'center',
- textAlignVertical: 'center',
- width: 210,
- height: 570,
- fontWeight: 'bold',
- color: '#45A29E',
- },
Add Comment
Please, Sign In to add comment