Skip to content

Commit

Permalink
(#197) adicona asterisco (teste)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioR2022 committed Nov 24, 2023
1 parent e80723c commit f1da421
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/private/pages/cadastrarIdoso.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export default function CadastrarIdoso() {
placeholder="Nome"
style={styles.textInput}
/>
<Icon style={styles.requiredIcon} name="asterisk" size={10} color="red" />
</View>
<ErrorMessage show={showErrors} text={erros.nome} />
</View>
Expand All @@ -169,6 +170,7 @@ export default function CadastrarIdoso() {
mask={Masks.DATE_DDMMYYYY}
placeholder="Data de Nascimento"
/>
<Icon style={styles.requiredIcon} name="asterisk" size={10} color="red" />
</View>
<ErrorMessage show={showErrors} text={erros.dataNascimento} />
</View>
Expand All @@ -186,6 +188,7 @@ export default function CadastrarIdoso() {
mask={Masks.BRL_PHONE}
placeholder="Telefone Responsável"
/>
<Icon style={styles.requiredIcon} name="asterisk" size={10} color="red" />
</View>
<ErrorMessage show={showErrors} text={erros.telefoneResponsavel} />
</View>
Expand Down Expand Up @@ -323,4 +326,8 @@ const styles = StyleSheet.create({
color: "#05375A",
fontSize: 17,
},

requiredIcon: {
marginLeft: 5,
},
});

0 comments on commit f1da421

Please sign in to comment.