-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApplication.jsx
26 lines (23 loc) · 897 Bytes
/
Application.jsx
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 from 'react';
import { StatusBar } from 'expo-status-bar';
import { ThemeProvider } from 'styled-components';
import { useFonts as useLato, Lato_400Regular } from '@expo-google-fonts/lato';
import { useFonts as useOswald, Oswald_400Regular } from '@expo-google-fonts/oswald';
import AuthenticationConTextProvider from './src/services/authentication/AuthenticationConText.jsx';
import { theme } from './src/infrastructure/theme/theme.js';
import Navigation from './src/infrastructure/navigation/Navigation.jsx';
function Application() {
const [ latoLoaded ] = useLato({ Lato_400Regular });
const [ oswaldLoaded ] = useOswald({ Oswald_400Regular });
return (
<>
<StatusBar style='auto' />
<ThemeProvider theme={theme}>
<AuthenticationConTextProvider>
<Navigation />
</AuthenticationConTextProvider>
</ThemeProvider>
</>
);
};
export default Application;