-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
71 lines (65 loc) · 1.5 KB
/
App.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
import { StatusBar } from "expo-status-bar";
import React from "react";
import { useFonts } from "expo-font";
import * as Animatable from "react-native-animatable";
import {
StyleSheet,
Text,
View,
Image,
Button,
TouchableOpacity,
} from "react-native";
import { LinearGradient } from "expo-linear-gradient";
import { NavigationContainer, DarkTheme } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import { createDrawerNavigator } from "@react-navigation/drawer";
import AuthStack from "./components/AuthStack";
const App = () => {
const [loaded] = useFonts({
Bold: require("./assets/Fonts/OpenSans-Bold.ttf"),
});
if (!loaded) {
return null;
}
const Stack = createStackNavigator();
const Drawer = createDrawerNavigator();
const Mytheme = {
dark: true,
colors: {
primary: "#fff",
text: "#fff",
card: "#232323",
},
};
return (
<NavigationContainer theme={Mytheme}>
<AuthStack />
</NavigationContainer>
);
};
export default App;
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fbfbfb",
textAlign: "center",
// alignItems: "center",
},
buttonss: {
width: 150,
color: "#fff",
height: 40,
justifyContent: "center",
alignItems: "center",
borderRadius: 50,
// flexDirection: "row",
},
image_style: {
display: "flex",
justifyContent: "center",
height: "20em",
marginTop: "9em",
width: "20em",
},
});