-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
26 lines (23 loc) · 821 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
24
25
26
import 'react-native-gesture-handler';
import RootNavigation from "./src/navigation";
import { useFonts } from "expo-font";
import { store } from './src/redux/store';
import { Provider } from 'react-redux';
export default function App() {
let [fontsLoaded] = useFonts({
"Poppins-Regular": require("./assets/fonts/Poppins-Regular.ttf"),
"Poppins-BlackItalic":require("./assets/fonts/Poppins-BlackItalic.ttf"),
"Poppins-Bold":require("./assets/fonts/Poppins-Bold.ttf"),
"Poppins-Light":require("./assets/fonts/Poppins-Light.ttf"),
"Poppins-Italic":require("./assets/fonts/Poppins-Italic.ttf"),
"Poppins-Medium":require("./assets/fonts/Poppins-Medium.ttf")
});
if (!fontsLoaded) {
return null;
}
return (
<Provider store={store}>
<RootNavigation/>
</Provider>
);
}