Advertisement
Guest User

Untitled

a guest
Dec 10th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import { StyleSheet, View, Text, StatusBar, TouchableOpacity } from 'react-native';
  3.  
  4. import Logo from '../components/Logo';
  5. import Form from '../components/From';
  6.  
  7.  
  8. export default class Signup extends Component {
  9. render() {
  10. return(
  11. <View style={styles.container}>
  12. <Logo />
  13. <Form type="Signup"/>
  14. <View style={styles.signupTextCont}>
  15. <Text style={styles.signUpText}>Already have an account? </Text>
  16. <TouchableOpacity onPress={this.goBack}><Text style={styles.signBtn}>Sign In</Text></TouchableOpacity>
  17. </View>
  18. </View>
  19. )
  20. }
  21. }
  22.  
  23. const styles = StyleSheet.create({
  24. container: {
  25. flexGrow: 1,
  26. backgroundColor: '#455a64',
  27. alignItems: 'center',
  28. justifyContent: 'center',
  29. },
  30. signupTextCont: {
  31. flexGrow: 1,
  32. alignItems: 'flex-end',
  33. justifyContent: 'center',
  34. marginVertical: 16,
  35. flexDirection: 'row'
  36. },
  37. signUpText: {
  38. color: '#fff',
  39. fontSize: 16,
  40.  
  41. },
  42. signBtn: {
  43. color: '#fff',
  44. fontSize: 16,
  45. fontWeight: 'bold',
  46. }
  47. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement