Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import { StyleSheet, View, Text, StatusBar, TouchableOpacity } from 'react-native';
- import Logo from '../components/Logo';
- import Form from '../components/From';
- export default class Signup extends Component {
- render() {
- return(
- <View style={styles.container}>
- <Logo />
- <Form type="Signup"/>
- <View style={styles.signupTextCont}>
- <Text style={styles.signUpText}>Already have an account? </Text>
- <TouchableOpacity onPress={this.goBack}><Text style={styles.signBtn}>Sign In</Text></TouchableOpacity>
- </View>
- </View>
- )
- }
- }
- const styles = StyleSheet.create({
- container: {
- flexGrow: 1,
- backgroundColor: '#455a64',
- alignItems: 'center',
- justifyContent: 'center',
- },
- signupTextCont: {
- flexGrow: 1,
- alignItems: 'flex-end',
- justifyContent: 'center',
- marginVertical: 16,
- flexDirection: 'row'
- },
- signUpText: {
- color: '#fff',
- fontSize: 16,
- },
- signBtn: {
- color: '#fff',
- fontSize: 16,
- fontWeight: 'bold',
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement