- Registration screens stubbing and partial buildouts

This commit is contained in:
Mike Fitzpatrick
2019-08-05 16:59:38 -04:00
parent a9f4324f29
commit c123ec385c
17 changed files with 505 additions and 23 deletions

View File

@@ -0,0 +1,36 @@
import React, { Component } from 'react';
import { Text, View } from 'react-native';
import FacebookLogin from '../components/FacebookLogin/FacebookLogin.container.js';
import styles from './SignInOrRegister.styles.js';
export default class SignInOrRegister extends Component {
constructor() {
super(props);
this._doRegistration = this._doRegistration.bind(this);
}
_doRegistration() {
this.props.navigation.navigate('Register');
}
render() {
return (
<View style={styles.container}>
<Text style={styles.title}>Sign In or Register</Text>
<View style={styles.localLogin}>
<LocalLogin />
</View>
<View style={styles.services}>
<FacebookLogin />
</View>
<View style={styles.register}>
<Button onPress={this._doRegistration} />
</View>
</View>
);
}
}