forked from jeonghorang/2022_flow_assign3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
44 lines (31 loc) · 913 Bytes
/
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
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { useFonts } from 'expo-font';
import LoginStackNavigator from './app/navigators/LoginStackNavigator';
function App() {
const [loaded] = useFonts({
ejr: require('./app/fonts/euljiro.ttf'),
gowun: require('./app/fonts/gowun.ttf'),
gowunBold: require('./app/fonts/gowunbold.ttf'),
daegunL: require('./app/fonts/daegunl.ttf'),
daegunM: require('./app/fonts/daegunm.ttf'),
});
if (!loaded) {
return null;
}
global.USER_ID = '';
global.USER_EMAIL = 'defaultEmail';
global.USER_NAME = 'defaultName';
global.fromMsg = [];
global.toMsg = [];
global.OWNER = 'Anonymous'
global.OWNER_NAME =''
global.BAG_ID = ''
global.BAG_MESSAGE = [];
return (
<NavigationContainer>
<LoginStackNavigator/>
</NavigationContainer>
);
}
export default App;