-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
40 lines (31 loc) · 1.22 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import * as React from 'react';
import {Text, View} from 'react-native';
import {
heightPercentageToDP as hp,
widthPercentageToDP as wp,
} from 'react-native-responsive-screen';
import Wheel from './src/screens/Wheel';
import Home from './src/screens/Home';
import Icon from 'react-native-vector-icons/Ionicons';
import Logo from './src/components/Logo';
import {MyContext} from './src/components/MyContext';
import {NavigationContainer} from '@react-navigation/native';
import Team from "./src/screens/Team"
import color from './assets/colors';
import {createBottomTabNavigator} from '@react-navigation/bottom-tabs';
import {createStackNavigator, StackView} from '@react-navigation/stack';
import {navigationRef} from "./src/components/RootNavigation"
const Stack = createStackNavigator();
export default function App() {
return (
<MyContext>
<NavigationContainer ref={navigationRef}>
<Stack.Navigator screenOptions={{headerShown:false}} initialRouteName="Home" >
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="Wheel" component={Wheel} />
<Stack.Screen name="Team" component={Team} />
</Stack.Navigator>
</NavigationContainer>
</MyContext>
);
}