-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
35 lines (30 loc) · 906 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
33
34
35
import 'react-native-gesture-handler';
import 'react-native-get-random-values';
import '@ethersproject/shims';
import {NavigationContainer} from '@react-navigation/native';
import React from 'react';
import {SafeAreaView, StatusBar, StyleSheet} from 'react-native';
import Toast from 'react-native-toast-message';
import {WalletProvider} from './src/context/walletContext';
import AppNavigator from './src/routes';
function App(): React.JSX.Element {
return (
<SafeAreaView style={styles.container}>
<StatusBar barStyle="dark-content" backgroundColor={'white'} />
<WalletProvider>
<NavigationContainer>
<AppNavigator />
</NavigationContainer>
</WalletProvider>
<Toast />
</SafeAreaView>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingHorizontal: 16,
backgroundColor: 'white'
}
});
export default App;