-
Notifications
You must be signed in to change notification settings - Fork 49
/
App.js
26 lines (23 loc) · 989 Bytes
/
App.js
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 {createStackNavigator} from '@react-navigation/stack';
import COLORS from './src/consts/colors';
import DetailsScreen from './src/views/screens/DetailsScreen';
import BottomNavigator from './src/views/navigation/BottomNavigator';
import OnBoardScreen from './src/views/screens/OnBoardScreen';
const Stack = createStackNavigator();
const App = () => {
return (
<NavigationContainer>
<StatusBar backgroundColor={COLORS.white} barStyle="dark-content" />
<Stack.Navigator screenOptions={{headerShown: false}}>
<Stack.Screen name="BoardScreen" component={OnBoardScreen} />
<Stack.Screen name="Home" component={BottomNavigator} />
<Stack.Screen name="DetailsScreen" component={DetailsScreen} />
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;