-
Notifications
You must be signed in to change notification settings - Fork 0
/
CadastroCliente.js
64 lines (60 loc) · 1.9 KB
/
CadastroCliente.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
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
ScrollView,
KeyboardAvoidingView,
Image,
Keyboard,
TextInput,
TouchableOpacity,
Button
} from 'react-native';
import{styles, stylesLog} from './Styles';
import {stylesCad} from './Styles';
import { TouchableWithoutFeedback } from 'react-native-gesture-handler'
import 'react-native-gesture-handler';
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
import { Header } from '@react-navigation/stack';
function cadastroCliente({navigation}) {
return (
<KeyboardAvoidingView keyboardVerticalOffset = {-400} style = {{ flex: 1 }}
behavior = "padding" style={styles.background}>
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<View style={stylesCad.containerLogoCad}>
<Image source={require('./assets/agind.png')}/>
</View>
<View style={stylesCad.container}>
<Text style={stylesCad.infoText} >Cadastre-se como cliente.</Text>
<TextInput style={styles.input}
placeholder="Nome"
placeholderTextColor="#0C93D4"
autoCorrect={false}
onChangeText ={()=>{}}
/>
<TextInput style={styles.input}
placeholder="Email"
placeholderTextColor="#0C93D4"
autoCorrect={false}
onChangeText ={()=>{}}
/>
<TextInput style={styles.input}
placeholder="Senha"
placeholderTextColor="#0C93D4"
autoCorrect={false}
onChangeText ={()=>{}}
secureTextEntry
/>
<TouchableOpacity style={stylesCad.btnSubmit} onPress={() => navigation.navigate('Login', {name: 'Login'})}>
<Text style={styles.submitText}>
Pronto
</Text>
</TouchableOpacity>
</View>
</TouchableWithoutFeedback>
</KeyboardAvoidingView>
);
}
export{cadastroCliente};