Browse Source

updating placeholder on the register screen

master
analuizaff 4 years ago
parent
commit
1a43450ada
  1. 9
      src/app/screens/RegisterScreen.js

9
src/app/screens/RegisterScreen.js

@ -40,7 +40,6 @@ export default function RegisterScreen(props) {
const comparePassword = (password, confirmPassword) => { const comparePassword = (password, confirmPassword) => {
if (password !== confirmPassword) { if (password !== confirmPassword) {
setSingUpFailed(true); setSingUpFailed(true);
console.log("Senhas Diferentes");
} else { } else {
setSingUpFailed(false); setSingUpFailed(false);
} }
@ -85,12 +84,12 @@ export default function RegisterScreen(props) {
/> />
</View> </View>
<View> <View>
<Text style={styles.labelStyle}> Número de telefone: </Text>
<Text style={styles.labelStyle}> Número do telefone: </Text>
<FormField <FormField
maxLength={12} maxLength={12}
name="number" name="number"
numberOfLines={1} numberOfLines={1}
placeholder="Nome Completo"
placeholder="Número de telefone celular"
/> />
</View> </View>
<View> <View>
@ -99,7 +98,7 @@ export default function RegisterScreen(props) {
maxLength={12} maxLength={12}
name="password" name="password"
numberOfLines={1} numberOfLines={1}
placeholder="Nome Completo"
placeholder="Senha"
/> />
</View> </View>
<View> <View>
@ -108,7 +107,7 @@ export default function RegisterScreen(props) {
maxLength={12} maxLength={12}
name="confirmPassword" name="confirmPassword"
numberOfLines={1} numberOfLines={1}
placeholder="Nome Completo"
placeholder="Repetir a senha"
/> />
</View> </View>
<ErrorMessage <ErrorMessage

Loading…
Cancel
Save