-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReplyPage.jsx
More file actions
97 lines (87 loc) · 1.88 KB
/
Copy pathReplyPage.jsx
File metadata and controls
97 lines (87 loc) · 1.88 KB
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
import React from 'react';
import {
View,
Text,
Image,
StyleSheet,
StatusBar,
useColorScheme,
TouchableOpacity,
Alert,
} from 'react-native';
import EmailInputBox from './emailinputbox';
import PasswordInputBox from './passwordinputbox';
import ReplyInputBox from './replyinputbox';
const ReplyPage = ({ navigation }) => {
const isDarkMode = useColorScheme() === 'dark';
return (
<View style={styles.container}>
<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
<Text style={styles.loginText}>Reply</Text>
<ReplyInputBox/>
<TouchableOpacity style={styles.button}
onPress={() => {
Alert.alert(
"Reply Sent!",
"",
[
{ text: "Go Back", onPress: () => navigation.goBack() }
],
{ cancelable: false }
);
}}
>
<Text style={styles.buttonText}>Send Reply</Text>
</TouchableOpacity>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#AFF4C6',
justifyContent: 'center',
alignItems: 'center',
paddingHorizontal: 20,
},
avatar: {
width: 150,
height: 150,
borderRadius: 75,
marginBottom: 20,
marginTop: -40,
},
loginText: {
fontSize: 30,
color: 'black',
marginBottom: 20,
},
button: {
backgroundColor: '#000000',
paddingVertical: 12,
paddingHorizontal: 24,
borderRadius: 8,
marginTop: 20,
alignItems: 'center',
width: 250,
},
buttonText: {
color: '#fff',
fontSize: 16,
fontWeight: '600',
textAlign: 'center',
},
linkText: {
fontSize: 15,
color: 'blue',
marginTop: 20,
textDecorationLine: 'underline',
},
linkText: {
fontSize: 15,
color: 'blue',
marginTop: 20,
textDecorationLine: 'underline',
},
});
export default ReplyPage;