-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (27 loc) · 793 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
27
28
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import {StackNavigator} from 'react-navigation'
import HomeScreen from './src/home'
import TwoPlayer from './src/twoplay'
import ThreePlayer from './src/threeplay'
import DetailTwoPlayer from './src/detailTwoplayer'
import FourPlayer from './src/fourplay'
import DetailFourPlayer from './src/detailFourplayer'
const Stack = StackNavigator({
Home: {screen: HomeScreen},
Twoplayer: {screen: TwoPlayer},
Threeplayer: {screen: ThreePlayer},
DetailTwoPlayer: {screen: DetailTwoPlayer},
Fourplayer: {screen: FourPlayer},
DetailFourPlayer: {screen: DetailFourPlayer}
})
export default class demoNavigation extends Component {
render() {
return <Stack />
}
}