halilb / react-native-textinput-effects

Text inputs with custom label and icon animations for iOS and android. Built with react native and inspired by Codrops.
MIT License
2.98k stars 291 forks source link

Feature to hide password #100

Closed edgesinghkataria closed 5 years ago

edgesinghkataria commented 5 years ago

Hi, This is my contribution. Added secureTextInput tag in the code. Please let me know for any change. Updated the Readme too. Thanks

halilb commented 5 years ago

Thank you for your contribution @simransinghkataria.

You could directly pass secureTextEntry prop to the component though. The library simply passes all the props to the react-native TextInput component. Here is an explanation on the README:

You can also use default TextInput Props. They'll be passed into TextInput component. E.g., use TextInput's onChange prop to be notified on text changes.

So I'm closing this PR as it would be redundant.