I am thinking of having something like this https://android-arsenal.com/details/1/3941 where you have icon that you press to show password as plaintext, not as dots. However
In case is useful I share what I find a clean solution:
onChange(text)} value={value} />
and then in your css
inputContainer: { justifyContent: 'center', }, input: { height: 50, }, icon: { position: 'absolute', right: 10, }