-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
34 lines (30 loc) · 857 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
34
import React from 'react';
import { createStackNavigator } from 'react-navigation';
import Home from './src/screens/Home';
import ListWithImage from './src/screens/ListWithImage';
import ListWithImageInline from './src/screens/ListWithImageInline';
import Article from './src/screens/Article';
import Weather from './src/screens/Weather';
import Locations from './src/screens/Locations';
import Tracks from './src/screens/Tracks';
import Map from './src/screens/Map';
export default class App extends React.Component {
render() {
return <RootStack />;
}
}
const RootStack = createStackNavigator(
{
Home: Home,
Weather: Weather,
ListWithImage: ListWithImage,
ListWithImageInline: ListWithImageInline,
Article: Article,
Locations: Locations,
Tracks: Tracks,
Map: Map,
},
{
initialRouteName: 'Home',
}
);