-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
35 lines (28 loc) · 810 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
import 'react-native-gesture-handler';
import { StatusBar as ExpoStatusBar } from "expo-status-bar";
import React from "react";
import { ThemeProvider } from "styled-components/native";
import 'react-native-gesture-handler'
import {
useFonts as useSignikaNegative,
SignikaNegative_400Regular,
} from "@expo-google-fonts/signika-negative";
import { theme } from "./src/infrastructure/theme";
import { Navigation } from "./src/infrastructure/navigation";
export default function App() {
// Load Fonts
const [signikaNegativeLoaded] = useSignikaNegative({
SignikaNegative_400Regular,
});
if (!signikaNegativeLoaded) {
return null;
}
return (
<>
<ThemeProvider theme={theme}>
<Navigation />
</ThemeProvider>
<ExpoStatusBar style="auto" />
</>
);
}