-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ios.js
43 lines (39 loc) · 826 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
/**
* Property finder App using react-native
* Find the tutorial oneline: https://www.raywenderlich.com/99473/introducing-react-native-building-apps-javascript
*/
'use strict'
import React, {
AppRegistry,
Component,
StyleSheet,
View,
Text,
NavigatorIOS,
} from 'react-native';
var SearchPage = require('./searchPage.js');
class PropertyFinderApp extends Component {
render() {
return (
<NavigatorIOS
style={styles.container}
initialRoute={{
title: 'Property Finder',
component: SearchPage,
}}
/>
);
}
}
var styles = StyleSheet.create({
text:{
color: 'black',
backgroundColor: 'white',
fontSize: 30,
margin: 80
},
container: {
flex: 1,
}
});
AppRegistry.registerComponent('PropertyFinder', ()=> PropertyFinderApp);