-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
26 lines (24 loc) · 824 Bytes
/
App.tsx
File metadata and controls
26 lines (24 loc) · 824 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
25
26
import 'react-native-gesture-handler';
import React from 'react';
import {StatusBar} from 'react-native';
import {NavigationContainer} from '@react-navigation/native';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import {RootNavigator} from '@/navigation';
import FlashMessage from 'react-native-flash-message';
import {AuthProvider, BluetoothContextProvider} from '@/libs/context';
function App(): React.JSX.Element {
return (
<SafeAreaProvider>
<AuthProvider>
<BluetoothContextProvider>
<NavigationContainer>
<StatusBar barStyle={'default'} />
<RootNavigator />
</NavigationContainer>
<FlashMessage position="top" />
</BluetoothContextProvider>
</AuthProvider>
</SafeAreaProvider>
);
}
export default App;