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

Loading…
Cancel
Save