-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
48 lines (45 loc) · 1.75 KB
/
Copy pathApp.js
File metadata and controls
48 lines (45 loc) · 1.75 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
import { StatusBar } from "expo-status-bar";
import React from "react";
import { Provider } from "react-redux";
import { StyleSheet, View } from "react-native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";
import { NavigationContainer } from "@react-navigation/native";
import ToastManager from "toastify-react-native";
import { store } from "./redux/store";
import Header from "./layout/Header";
import Calender from "./screens/calender";
import Workspace from "./screens/workspace";
import Library from "./screens/library";
import Note from "./screens/note";
import NavigationView from "./components/common/navigationView";
import SignIn from "./screens/signIn";
import SignUp from "./screens/signUp";
const Stack = createNativeStackNavigator();
export default function App() {
return (
<Provider store={store}>
<NavigationContainer>
<Stack.Navigator initialRouteName="SignIn" screenOptions={{ headerShown: false }}>
<Stack.Screen name="SignIn" component={SignIn} />
<Stack.Screen name="SignUp" component={SignUp} />
<Stack.Screen name="Calender" component={Calender} />
<Stack.Screen name="Library" component={Library} />
<Stack.Screen name="Workspace" component={Workspace} />
<Stack.Screen name="Note" component={Note} />
</Stack.Navigator>
</NavigationContainer>
<ToastManager width={400} />
</Provider>
);
}
{
/* <StatusBar style="auto" /> */
}
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: "column",
alignItems: "stretch",
justifyContent: "space-between",
},
});