-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLedgexFormScreen.js
68 lines (62 loc) · 1.74 KB
/
LedgexFormScreen.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
'use strict';
import React, {
Component,
Text,
StyleSheet,
PixelRatio,
View
} from 'react-native';
class LedgexFormScreen extends Component {
render() {
console.log(this.props.data)
return (
<View>
<View style={[styles.centering, {paddingTop: 40}]}>
<Text style={{fontSize: 25}}>{this.props.data.LedgexName}</Text>
<Text style={{fontSize: 15}}>{this.props.data.CompanyDisplayText}</Text>
<Text style={{fontSize: 15}}>{this.props.data.BusinessLocation}</Text>
<View style={{height: 20}}/>
</View>
<View style={styles.row}>
<Text style={{fontSize: 15}}>Phone: </Text>
<Text style={{fontSize: 15,fontWeight:'bold'}}>{this.props.data.PhoneNumber}</Text>
</View>
<View style={styles.row}>
<Text style={{fontSize: 15}}>Email: </Text>
<Text style={{fontSize: 15,fontWeight:'bold'}}>{this.props.data.EmailAddress}</Text>
</View>
</View>
)
}
}
var styles = StyleSheet.create({
centering: {
alignItems: 'center',
justifyContent: 'center',
},
row: {
flexDirection: 'row',
padding: 10,
},
separator: {
height: 1,
backgroundColor: '#CCCCCC',
},
text: {
flex: 1,
},
button: {
alignItems: 'center',
justifyContent: 'center',
backgroundColor: 'white',
padding: 15,
paddingTop: 40,
borderBottomWidth: 1 / PixelRatio.get(),
borderBottomColor: '#CDCDCD',
},
buttonText: {
fontSize: 17,
fontWeight: '500',
},
});
module.exports = LedgexFormScreen;