Question · React Native course · Module 1: Your first app

Quiz: Hiding a password

Which prop hides the typed text (for a password)?

Answer options

  • password={true}
  • hidden={true}
  • secureTextEntry={true}
  • type="password"
Show the answer

Correct answer:

  • secureTextEntry={true}