-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathApp.js
More file actions
42 lines (33 loc) · 1.31 KB
/
App.js
File metadata and controls
42 lines (33 loc) · 1.31 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
import {fireAuth} from './firebase';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
console.ignoredYellowBox=['Setting a timer'];
import SignIn from './Pages/Sign_In'
import SignUp from './Pages/Sign_Up'
import ViewProfile from './Pages/Profile/View_Profile'
import EditProfile from './Pages/Profile/Edit_Profile'
import DeleteAccount from './Pages/Profile/Delete_Account'
import { useGlobalState ,setGlobalState} from './state';
const Stack = createNativeStackNavigator();
export default function App() {
return(
<NavigationContainer>
<Stack.Navigator
initialRouteName="SignIn"
screenOptions={{
headerStyle: {
backgroundColor: "transparent"
},
headerTintColor: "#f1f1f1",
headerTransparent: true,
headerTitle: ""
}}>
<Stack.Screen name="SignIn" component={SignIn} />
<Stack.Screen options={{headerTintColor: "#f1f1f1"}} name="SignUp" component={SignUp} />
<Stack.Screen name="ViewProfile" component={ViewProfile} />
<Stack.Screen name="EditProfile" component={EditProfile} />
<Stack.Screen name="DeleteAccount" component={DeleteAccount} />
</Stack.Navigator>
</NavigationContainer>
);
}