Advertisement
lddep

LimoAppSignInScreen.js

Jun 13th, 2019
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.68 KB | None | 0 0
  1. https://pastebin.com/AvBErbdb
  2.  
  3.  
  4.  
  5. import React, {Component} from 'react';
  6. import {Platform,
  7.     StyleSheet,
  8.     Text,
  9.     View,
  10.     TextInput,
  11.     TouchableOpacity,
  12. } from 'react-native';
  13.  
  14.  
  15.  
  16. type Props = {};
  17. export default class SignInScreen extends Component<Props> {
  18.   render() {
  19.     return (
  20.       <View style={styles.SignInBox}>
  21.         <TextInput style={styles.txtEmailSign} placeholder="Email" underlineColorAndroid={'transparent'} />
  22.        
  23.         <TextInput style={styles.txtPassSign} secureTextEntry={true} placeholder="Password" underlineColorAndroid={'transparent'} />
  24.  
  25.         <TouchableOpacity style={styles.btnForgot}>
  26.             <Text style={styles.txtBottomHelp}>
  27.                 I forgot my password
  28.             </Text>
  29.         </TouchableOpacity>
  30.  
  31.         <TouchableOpacity style={styles.btnDontHave}>
  32.             <Text style={styles.txtBottomHelp}>
  33.                 I don't have an account
  34.             </Text>
  35.         </TouchableOpacity>
  36.       </View>
  37.     );
  38.   }
  39. }
  40.  
  41. const styles = StyleSheet.create({
  42.   SignInBox: {
  43.     position: 'absolute',
  44.     height: 250,
  45.     backgroundColor: '#fff',
  46.     bottom: 0,
  47.     width: '100%',
  48.     paddingHorizontal: 10,
  49.   },
  50.   txtEmailSign: {
  51.     alignSelf: 'stretch',
  52.     height: 40,
  53.     color: 'black',
  54.     borderBottomColor: '#d1d1d1',
  55.     borderBottomWidth: 1,
  56.     top: 25,
  57.     marginBottom: 25,
  58.   },
  59.   txtPassSign: {
  60.     alignSelf: 'stretch',
  61.     height: 40,
  62.     color: 'black',
  63.     borderBottomColor: '#d1d1d1',
  64.     borderBottomWidth: 1,
  65.     marginTop: 25,
  66.     marginBottom: 25,
  67.   },
  68.   btnForgot: {
  69.     marginBottom: 20,
  70.   },
  71.   txtBottomHelp: {
  72.     color: 'blue',
  73.     fontSize: 16,
  74.   },
  75. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement