-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
29 lines (25 loc) Β· 799 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
27
28
29
import AppLoading from 'expo-app-loading';
import { useFonts } from 'expo-font';
import { StatusBar } from 'expo-status-bar';
import GilroyBold from './assets/fonts/gilroy-bold.ttf';
import GilroyHeavy from './assets/fonts/gilroy-heavy.ttf';
import GilroyMedium from './assets/fonts/gilroy-medium.ttf';
import GilroyRegular from './assets/fonts/gilroy-regular.ttf';
import GilroySemiBold from './assets/fonts/gilroy-semibold.ttf';
import Routes from './src/routes';
export default function App() {
const [loaded] = useFonts({
GilroyBold,
GilroyHeavy,
GilroyMedium,
GilroyRegular,
GilroySemiBold,
});
if (!loaded) return <AppLoading />;
return (
<>
<Routes />
<StatusBar style="auto" />
</>
);
}