forked from react-navigation/react-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
24 lines (19 loc) · 624 Bytes
/
Copy pathApp.tsx
File metadata and controls
24 lines (19 loc) · 624 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
import '@expo/metro-runtime'; // Necessary for Fast Refresh on Web
import './gesture-handler';
import { Assets } from '@react-navigation/elements';
import { registerRootComponent } from 'expo';
import { Asset } from 'expo-asset';
import * as React from 'react';
import { LogBox } from 'react-native';
import { App } from './src/index';
LogBox.ignoreLogs([
'Open debugger to view warnings',
'findHostInstance_DEPRECATED is deprecated in StrictMode',
'findNodeHandle is deprecated in StrictMode',
]);
Asset.loadAsync(Assets);
registerRootComponent(() => (
<React.StrictMode>
<App />
</React.StrictMode>
));