How can I put an icon inside a TextInput in React Native? : <p>I am thinking of having something like this <a href="https://android-arsenal.com/details/1/3941" rel="noreferrer">https://android-arsenal.com/details/1/3941</a> where you have icon that you press to show password as plaintext, not as dots. However, I was unable to find any custom component that would help me.</p>

<p>I don't want to put too much time on such a minor feature, so I'm asking without having attempted anything yet: Is there a custom component I've missed? If not, is there a simple way to add children to TextInput? Or should I just have TextInput and Touchable side by side?</p>
