akinncar / react-native-mask-text

🎭 A React Native and Expo library to mask text and inputs
MIT License
417 stars 40 forks source link

Icon support #20

Open Jukez17 opened 3 years ago

Jukez17 commented 3 years ago

Describe the Feature

The masked input field could have similar support for left and right icons like the react native elements input field has.

Possible Implementations

Adding a leftIcon and rightIcon props to the masked text input

Related Issues

akinncar commented 3 years ago

The purpose of this library is to provide support to mask texts without any styles because styles can be easily resolved outside the library. I think that adds a wrapper to add styles will limit the styling inside the library causing possible problems.