-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
26 lines (21 loc) · 812 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
import React from 'react';
import { StatusBar } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import { SafeAreaProvider, initialWindowMetrics } from 'react-native-safe-area-context';
import { COLORS } from './src/config/Constant';
import { HomeScr } from './src/screens';
const Stack = createStackNavigator();
const App = () => {
return (
<SafeAreaProvider initialMetrics={initialWindowMetrics}>
<StatusBar barStyle={'dark-content'} backgroundColor={COLORS.WHITE} />
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={HomeScr} />
</Stack.Navigator>
</NavigationContainer>
</SafeAreaProvider >
);
};
export default App;