-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
33 lines (30 loc) · 1.01 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
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View, SafeAreaView } from "react-native";
import SignUpScreen from "./app/screens/SignUpScreen";
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import Dashboard from "./app/screens/Dashboard";
const Stack = createNativeStackNavigator();
export default function App() {
return (
<>
<View style={styles.container}>
<NavigationContainer style={styles.container}>
<Stack.Navigator>
<Stack.Screen options={{headerShown:false}} name="SignIn" component={SignUpScreen} />
<Stack.Screen name="Dashboard" component={Dashboard} />
</Stack.Navigator>
</NavigationContainer>
</View>
</>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
// backgroundColor: "#85CDCA",
// alignItems: "center",
// justifyContent: "center",
},
});