-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
37 lines (32 loc) · 1.15 KB
/
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
30
31
32
33
34
35
36
37
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* Generated with the TypeScript template
* https://github.com/react-native-community/react-native-template-typescript
*
* @format
*/
import React from 'react';
import {StatusBar} from 'react-native';
import MainScreen from './src/screens/MainScreen';
import Icon from 'react-native-vector-icons/FontAwesome';
import WebViewModalProvider from './src/components/common/WebView/WebViewModalProvider';
import {ColorsProvider} from './src/components/common/Colors/ColorsProvider';
import 'react-native-gesture-handler';
import {LogBox} from 'react-native';
LogBox.ignoreLogs(['Can']); // there is a reason for it, don't worry I know what I'm doing. I will not break anything. Everyone secured! I'm promise. Really. Please contact me if you read this comment. Cause it means you looking my code. And its cool. Cheers! Bye!
Icon.loadFont();
const App = () => {
return (
<ColorsProvider>
<>
<StatusBar barStyle={'default'} />
<WebViewModalProvider>
<MainScreen />
</WebViewModalProvider>
</>
</ColorsProvider>
);
};
export default App;