-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (26 loc) · 782 Bytes
/
Copy pathApp.tsx
File metadata and controls
27 lines (26 loc) · 782 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
import { StatusBar } from "expo-status-bar";
import Navigation from "./src/navigation";
import { useFonts } from "expo-font";
import { SafeAreaProvider } from "react-native-safe-area-context";
import { fonts } from "./src/theme/fonts";
import { ActivityIndicator } from "react-native";
export default function App() {
const [fontsLoaded] = useFonts({
[fonts.regular]:
"https://fonts.cdnfonts.com/s/15011/CircularStd-Medium.woff",
[fonts.bold]: "https://fonts.cdnfonts.com/s/15011/CircularStd-Bold.woff",
});
if (!fontsLoaded)
return (
<ActivityIndicator
size="large"
style={{ justifyContent: "center", flex: 1 }}
/>
);
return (
<SafeAreaProvider>
<Navigation />
<StatusBar />
</SafeAreaProvider>
);
}