diff --git a/App.js b/App.js index 83ddde0..69d51f1 100644 --- a/App.js +++ b/App.js @@ -1,9 +1,10 @@ import React, { Component } from 'react' import { View, - Button + Button, + Text } from 'react-native' -import * as styles from './styles' +import styles from './styles' export default class home extends Component { constructor(props) { @@ -13,10 +14,21 @@ export default class home extends Component { render() { return ( + Welcome! Today is day 6 of your current cycle + onPress={goToSymptomEdit} + title="Edit symptoms for today"> + + ) } } + +function goToSymptomEdit () { + +} +function goToCalendar () {} diff --git a/styles.js b/styles.js index 461ad19..dd1e124 100644 --- a/styles.js +++ b/styles.js @@ -1,16 +1,13 @@ import { StyleSheet } from 'react-native' -const ourStyle = StyleSheet.create({ +export default StyleSheet.create({ container: { - flex: 1, justifyContent: 'center', alignItems: 'center' }, welcome: { fontSize: 20, - textAlign: 'center', - margin: 10, + margin: 30, + textAlign: 'center' } -}) - -export { ourStyle } +}) \ No newline at end of file