How can I put an icon inside a TextInput in React Native?

前端 未结 9 2126
轻奢々
轻奢々 2020-12-04 19:03

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

9条回答
  •  臣服心动
    2020-12-04 19:26

    You can use this module which is easy to use: https://github.com/halilb/react-native-textinput-effects

提交回复
热议问题