forked from Stampeder525/HouseMate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SignUpBanking.js
100 lines (95 loc) · 2.86 KB
/
SignUpBanking.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import React from 'react';
import { StyleSheet, Text, TextInput, View } from 'react-native';
import { StackNavigator } from 'react-navigation';
import SignUpProfile from './SignUpProfile.js'
import { Button } from 'react-native';
export default class SignUpBanking extends React.Component {
render() {
return (
<View style={styles.container}>
<Text style={styles.title}>Billing Information</Text>
<TextInput
style={styles.text_field}
placeholder="Card Number"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="Exp. Date"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="CVC"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<Text style={styles.title}>Billing Address</Text>
<TextInput
style={styles.text_field}
placeholder="Address"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="Address Line 2"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="City"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="State"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<TextInput
style={styles.text_field}
placeholder="ZIP"
onChangeText={(text) => this.setState({text})}
underlineColorAndroid = 'rgba(0,0,0,0)'
/>
<Button
title="Next"
onPress={() =>
this.props.navigation.navigate('Notifications')
}
/>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
display: 'flex',
flex: 1,
backgroundColor: '#fff',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
},
title: {
fontSize: 30,
height: 50,
fontFamily: 'Avenir',
},
text_field: {
backgroundColor: '#eeeeee',
height: 40,
width: '100%',
textAlign: 'center',
marginVertical: 6,
paddingVertical: 7,
fontSize: 18,
flex: 0,
fontFamily: 'Avenir',
},
});