-
Notifications
You must be signed in to change notification settings - Fork 0
/
AccountSettingsPage.js
114 lines (109 loc) · 2.99 KB
/
AccountSettingsPage.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/**
* PureMoney POS - AccountSettingsPage
* https://github.com/facebook/react-native
* @flow
*/
'use strict';
import React, { Component } from 'react';
import {
StyleSheet,
Text,
TextInput,
Image,
View,
Button,
} from 'react-native';
export default class AccountSettingsPage extends Component {
render() {
return (
<View style={styles.container}>
<Text style={styles.description}>
Settings
</Text>
<Text style={styles.headtitle}>
Vendor Information
</Text>
<View style={styles.flowRight}>
<TextInput
style={styles.textInput}
placeholder='Vendor name'/>
</View>
<TextInput
style={styles.textInput}
placeholder='Vendor account'/>
<TextInput
style={styles.textInput}
placeholder='Mailing address'/>
<TextInput
style={styles.textInput}
placeholder='Email address'/>
<TextInput
style={styles.textInput}
placeholder='Phone number'/>
<Text style={styles.headtitle}>
Evangelist Information
</Text>
<TextInput
style={styles.textInput}
placeholder='Evangelist account'/>
<TextInput
style={styles.textInput}
placeholder='Fee payment contract'/>
<TextInput
style={styles.textInput}
placeholder='Email address'/>
<TextInput
style={styles.textInput}
placeholder='Phone number'/>
<Button
onPress={() => {}}
style={styles.button}
title="Submit" />
</View>
);
}
}
const styles = StyleSheet.create({
description: {
marginBottom: 10,
fontSize: 18,
textAlign: 'center',
color: '#434343'
},
headtitle: {
marginBottom: 10,
fontSize: 15,
textAlign: 'center',
color: '#434343'
},
container: {
padding: 30,
marginTop: 40,
marginBottom: 50,
alignItems: 'center'
},
flowRight: {
flexDirection: 'row',
alignItems: 'center',
alignSelf: 'stretch',
},
textInput: {
height: 36,
marginBottom: 10,
textAlign: 'left',
alignSelf: 'stretch',
padding: 4,
marginRight: 5,
flexGrow: 1,
fontSize: 16,
borderWidth: 1,
borderColor: '#48BBEC',
borderRadius: 8,
color: '#48BBEC',
},
button: {
color: '#48BBEC',
borderWidth: 1,
borderColor: '#48BBEC',
},
});