-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
24 lines (19 loc) · 613 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from "react";
import { Roboto_400Regular, Roboto_700Bold, useFonts } from "@expo-google-fonts/roboto";
import AppLoading from "expo-app-loading";
import RoutesApp from "./src/routes";
import { StatusBar } from "expo-status-bar";
import { Provider } from "react-redux";
import store from "./src/store";
export default function App() {
const [fontsLoaded] = useFonts({Roboto_400Regular, Roboto_700Bold});
if(!fontsLoaded) {
return <AppLoading />;
}
return (
<Provider store={store}>
<StatusBar style="light" backgroundColor="#312E38" translucent />
<RoutesApp />
</Provider>
);
}