sbycrosz / react-native-credit-card-input

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!
MIT License
1.46k stars 699 forks source link

additionalInputProps wasn't working properly #147

Closed altenorjr closed 2 months ago

altenorjr commented 5 years ago

The additionalInputProps prop was all but useless. Any passed in prop would be promptly overwritten by the defaults. The correct approach would be merging the added props at the end of the TextInput list of props, so that the props passed in will overwrite the defaults. The only problem would be extending the default styles. To do that, I've taken any style prop that comes down in the additionalInputProps and merged it at the end of the TextInput styles. I think this will do the trick.

josuearrieta commented 5 years ago

When is this merged ?

yuritoledo commented 5 years ago

@altenorjr @josuearrieta This project was abandoned :( I created a fork of this one: https://github.com/yuritoledo/react-native-credit-card-input/

I am fixing the security issues and will add new features in future.

PR are welcome!

ebellumat commented 4 years ago

Please, bring your pull requests to my repo. I Will maintain this lib.

https://github.com/ebellumat/react-native-credit-card-input