-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFeedbackScreen.js
80 lines (76 loc) · 1.68 KB
/
FeedbackScreen.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
import React from 'react';
import {
Image,
Platform,
StyleSheet,
Text,
TouchableOpacity,
View,
Dimensions,
Button
} from 'react-native';
export default class FeedbackScreen extends React.Component {
static navigationOptions = {
header: null,
};
render() {
return (
<View style={styles.container}>
<TouchableOpacity onPress={() => this.props.navigation.navigate('HomeScreen')}>
<Image style = {styles.backButton}
source={require('./img/back.png')} />
</TouchableOpacity>
<View style={styles.content}>
<Text style={styles.header}>CONTACT US</Text>
<Text style={styles.description}>Let us know how we can help.</Text>
<TouchableOpacity onPress={() => this.props.navigation.navigate('FeedbackDone')}>
<View style={styles.submitButton}>
<Text style={styles.submitText}>SUBMIT</Text>
</View>
</TouchableOpacity>
</View>
</View>
);
}
}
const window = Dimensions.get('window');
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#191979',
padding: 30,
},
content: {
alignItems: 'center',
},
header: {
alignItems: 'center',
fontSize: 40,
fontFamily: 'Avenir',
color: '#fff',
},
description: {
fontSize: 14,
color: '#fff',
},
homePhoto: {
marginTop: 40,
width: 92,
height: 137,
},
backButton: {
width: 24,
height: 24,
},
submitButton: {
marginTop: 30,
padding: 10,
borderRadius: 30,
backgroundColor: '#FFFFFF',
width: window.width / 2,
alignItems: 'center',
},
submitText: {
color: '#171797',
},
});