-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApp.js
More file actions
31 lines (27 loc) · 926 Bytes
/
App.js
File metadata and controls
31 lines (27 loc) · 926 Bytes
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
import React from "react";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { NavigationContainer } from "@react-navigation/native";
import * as Font from "expo-font";
import { Provider } from "react-redux";
import store from "./src/redux/store";
import RootNavigator from "./src/navigators/RootNavigator";
export default function App() {
Font.loadAsync({
Light: require("./src/assets/fonts/NanumSquareL.ttf"),
Regular: require("./src/assets/fonts/NanumSquareR.ttf"),
Medium: require("./src/assets/fonts/NanumSquare.ttf"),
Bold: require("./src/assets/fonts/NanumSquareB.ttf"),
ExtraBold: require("./src/assets/fonts/NanumSquareEB.ttf"),
});
return (
<>
<Provider store={store}>
<SafeAreaProvider>
<NavigationContainer>
<RootNavigator />
</NavigationContainer>
</SafeAreaProvider>
</Provider>
</>
);
}