Skip to content

Commit

Permalink
Add button back to login page, temp store my work on login page
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseTeichmann committed Oct 2, 2019
1 parent ef9229b commit 874c4d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Routinely/app/components/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ class CalendarScreen extends Component {
renderItem={this.renderItem}
// sectionStyle={styles.section}
/>
<Button
title="Login"
onPress={() => this.props.navigation.navigate('Login')}
/>
</CalendarProvider>
);
}
Expand Down
15 changes: 13 additions & 2 deletions Routinely/app/components/login.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import React, { Component } from 'react';
import { AppRegistry, Text, View, TextInput, StyleSheet, Button } from 'react-native';

import DayPicker from './repeat/DayPicker';
import RepeatDiv from './repeat/RepeatDiv';
import SnoozeDuration from './repeat/SnoozeDuration';
import TimePicker from './TimePicker';
import {Divider} from 'react-native-elements';

class LoginScreen extends Component {
render() {
Expand Down Expand Up @@ -28,11 +32,18 @@ class LoginScreen extends Component {
title="Calendar"
onPress={() => this.props.navigation.navigate('Calendar')}
/>
<TimePicker/>
<RepeatDiv/>
<Divider/>
<DayPicker/>
<Divider/>
<SnoozeDuration/>
<Divider/>
</View>

);
}
}
}

const styles = StyleSheet.create({
login:{
Expand Down

0 comments on commit 874c4d5

Please sign in to comment.