forked from Frantic-Rust/Slant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ios.js
executable file
·44 lines (37 loc) · 1002 Bytes
/
index.ios.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
41
42
43
44
"use strict";
import React, {
Component,
} from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
NavigatorIOS
} from 'react-native';
import UserPage from './app/views/UserPage.ios.js';
import LoginView from './app/views/LoginView.ios.js';
import CameraView from './app/views/CameraView.ios.js';
import HomeView from './app/views/HomeView.ios.js';
import LoadingView from './app/views/LoadingView.ios.js';
import MainView from './app/views/MainView.ios.js';
import MapViewPage from './app/views/MapView.ios.js';
class FranticRust extends Component {
render() {
return (
<NavigatorIOS
style={styles.navigationContainer}
navigationBarHidden={true}
initialRoute={{
title: 'home.me',
component: HomeView,
}}/>
);
}
}
var styles = StyleSheet.create({
navigationContainer: {
flex: 1
}
});
AppRegistry.registerComponent('FranticRust', () => FranticRust);