-
Notifications
You must be signed in to change notification settings - Fork 0
/
cadastroLavador.js
71 lines (68 loc) · 2.12 KB
/
cadastroLavador.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
ScrollView,
KeyboardAvoidingView,
Image,
Keyboard,
TextInput,
TouchableOpacity,
Button
} from 'react-native';
import{styles} from './Styles';
import {stylesCad} from './Styles';
import { TouchableWithoutFeedback } from 'react-native-gesture-handler'
import 'react-native-gesture-handler';
import { hide } from 'expo/build/launch/SplashScreen';
function cadastroLavador({navigation}) {
return (
<KeyboardAvoidingView keyboardVerticalOffset = {-400} style = {{ flex: 1 }}
behavior = "padding" style={styles.background}>
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<View style={stylesCad.containerLogoCadLav}>
<Image source={require('./assets/agind.png') }/>
</View>
<View style={stylesCad.container} onPress={ocultarlogo()}>
<Text style={stylesCad.infoText} >Cadastre-se como lavador.</Text>
<TextInput style={styles.input}
placeholder="Nome do lava-rápido"
placeholderTextColor="#0C93D4"
autoCorrect={false}
onChangeText ={()=>{}}
/>
<TextInput style={styles.input}
placeholder="CPF/CNPJ"
placeholderTextColor="#0C93D4"
autoCorrect={false}
keyboardType="numeric"
onChangeText ={()=>{}}
autoCompleteType="off"
/>
<TextInput style={styles.input}
placeholder="Email"
placeholderTextColor="#0C93D4"
autoCompleteType="email"
autoCompleteType="email"
autoCorrect={false}
onChangeText ={()=>{}}
/>
<TextInput style={styles.input}
placeholder="Senha"
placeholderTextColor="#0C93D4"
secureTextEntry
autoCorrect={false}
onChangeText ={()=>{}}
/>
<TouchableOpacity style={stylesCad.btnSubmit} onPress={() => navigation.navigate('Panel', {name: 'Panel'})}>
<Text style={styles.submitText}>
Pronto
</Text>
</TouchableOpacity>
</View>
</TouchableWithoutFeedback>
</KeyboardAvoidingView>
);
}
export{cadastroLavador};