-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathApp.tsx
32 lines (26 loc) · 933 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
30
31
32
import React from "react";
import { LogBox } from "react-native";
import { Provider as ReactNativePaperProvider } from "react-native-paper";
import AppContainer from "@src/AppContainer";
import { APP_THEME } from "@src/constants/Theme";
/** ========================================================================
* Config
* =========================================================================
*/
/* Workaround for an issue with screen navigation */
import "react-native-gesture-handler";
/* Disable warnings */
LogBox.ignoreAllLogs();
/** ========================================================================
* Mandarin App
* =========================================================================
*/
export default class extends React.Component {
render(): JSX.Element {
return (
<ReactNativePaperProvider theme={APP_THEME}>
<AppContainer />
</ReactNativePaperProvider>
);
}
}