-
Notifications
You must be signed in to change notification settings - Fork 0
/
ThankYou.js
59 lines (55 loc) · 1.37 KB
/
ThankYou.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
import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
import React from "react";
import { useNavigation } from "@react-navigation/native";
import Icon from "react-native-vector-icons/AntDesign";
const ThankYouPage = () => {
const navigation = useNavigation();
return (
<View
style={{
flex: 1,
alignItems: "center",
justifyContent: "center",
backgroundColor: "#3ba0fc",
}}
>
<Icon
color={"#1fd655"}
size={210}
name="checkcircle"
onPress={() => navigation.replace("GetStarted")}
style={{
marginBottom: 20,
backgroundColor: "white",
borderRadius: 380,
borderColor: "#0047AB",
}}
/>
<TouchableOpacity
style={{
borderWidth: 1,
borderColor: "#FFA500",
padding: 10,
borderRadius: 10,
backgroundColor: "#FFA500",
marginTop: 20,
position: "absolute",
bottom: 70,
}}
onPress={() => navigation.replace("DrawerNavigator")}
>
<Text
style={{
fontSize: 18,
fontWeight: "600",
color: "white",
}}
>
Go to home page
</Text>
</TouchableOpacity>
</View>
);
};
export default ThankYouPage;
const styles = StyleSheet.create({});