forked from world-wide-web/react-native-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSearchScreen.js
More file actions
39 lines (31 loc) · 840 Bytes
/
SearchScreen.js
File metadata and controls
39 lines (31 loc) · 840 Bytes
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
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
TouchableOpacity
} = React;
var SearchScreen = React.createClass({
render: function() {
return (
<View style={styles.container}>
<Text style={{fontSize: 20, textAlign: 'center', margin: 10, fontWeight: '500', marginTop: 50}}>
No NavBar Example
</Text>
<Text style={{fontSize: 16, textAlign: 'center', marginHorizontal: 30, marginBottom: 20}}>
This screen isn't wrapped with a UINavigationController at all, so there's no NavBar
</Text>
</View>
);
},
});
var styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#F5FCFF'
}
});
AppRegistry.registerComponent('SearchScreen', () => SearchScreen);
module.exports = SearchScreen;