-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.android.js
43 lines (39 loc) · 1018 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
39
40
41
42
43
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
var React = require('react-native');
var ScrollableTabView = require('./android-tab-view.js');
var Welcome = require('./androidwelcome.js');
var FAQ = require('./androidfaq.js');
var Schedule = require('./androidschedule.js')
var Bubble = require('./androidbubble.js')
var StatusBarAndroid = require('react-native-android-statusbar');
var {
AppRegistry,
StyleSheet,
Text,
View,
Component,
Image,
TouchableHighlight,
PropTypes,
ScrollView
} = React;
var HackDukeApp = React.createClass({
render() {
StatusBarAndroid.setHexColor('#2a3139');
return (
<ScrollableTabView edgeHitWidth={0}>
<Welcome tabLabel="home" />
<Schedule tabLabel="calendar" />
<FAQ tabLabel="infowithcircle" />
<Bubble tabLabel="location" />
</ScrollableTabView>
);
}
});
var styles = StyleSheet.create({
});
AppRegistry.registerComponent('HackDukeApp', () => HackDukeApp);