-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
33 lines (31 loc) · 864 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
29
30
31
32
33
import HomeScreen from './HomeScreen';
import GameScreen from './GameScreen'
import React from 'react';
import { Keyboard, StyleSheet, Text, View, FlatList, TextInput, Button, TouchableHighlight, TouchableOpacity} from 'react-native';
import { List, ListItem} from 'react-native-elements';
import { Ionicons } from '@expo/vector-icons'
import Swipeout from 'react-native-swipeout';
import { createStackNavigator } from 'react-navigation';
const RootStack = createStackNavigator({
Home: {
screen: HomeScreen,
header: {visible: false},
navigationOptions: {
title: 'Home',
header: null
},
},
Game: {
screen: GameScreen,
header: {visible: false},
navigationOptions: {
title: 'Home',
header: null
},
},
});
export default class App extends React.Component {
render() {
return <RootStack />;
}
}