-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.android.js
38 lines (31 loc) · 939 Bytes
/
index.android.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
import React, { Component } from 'react';
import { AppRegistry, StyleSheet, Text, View } from 'react-native';
import { StackNavigator } from 'react-navigation';
import Component1 from './app/components/Component1/Component1';
import Component2 from './app/components/Component2/Component2';
import Component3 from './app/components/Component3/Component3';
import Component4 from './app/components/Component4/Component4';
import FeedView from './app/components/FeedView/FeedView';
import Details from './app/components/Details/Details';
export default class contacts extends Component {
render() {
return (
<ModalStack/>
);
}
}
const ModalStack = StackNavigator({
Home: {
screen: FeedView,
navigationOptions: {
title: 'CONTACTS',
}
},
Details: {
screen: Details,
navigationOptions: {
title: 'DETAILS',
}
},
});
AppRegistry.registerComponent('contacts', () => contacts)