-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.ios.js
More file actions
43 lines (37 loc) · 755 Bytes
/
index.ios.js
File metadata and controls
43 lines (37 loc) · 755 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
40
41
42
43
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
NavigatorIOS,
View,
Text,
} from 'react-native';
import Main from './App/Components/Main';
class WorkoutTracker extends Component {
constructor(props) {
super(props);
}
render() {
return (
<NavigatorIOS
style={styles.container}
initialRoute={{
title: "Julian Gym Tracker",
component: Main
}} />
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
backgroundColor: '#F5FCFF'
}
});
AppRegistry.registerComponent('WorkoutTracker', () => WorkoutTracker);