React Native Credit Card Input Versions Save

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!

v0.3.3

7 years ago

v0.3.2

7 years ago

v0.3.0

7 years ago

Breaking Changes from 0.2.*

  • cardViewSize prop are removed from CreditCardInput, use cardScale instead (because changing the size will break most of the texts)
  • bgColor prop are removed from CreditCardInput, ask your designer friend to make a credit card image instead (or use the prebundled image)
  • imageFront and imageBack props are renamed to cardImageFront and cardImageBack respectively,
  • Android monospace fonts doesn't looks as nice as iOS Courier, bundle custom fonts into your app and override the default using cardFontFamily instead

v0.2.4

7 years ago
  • Now you could use requiresName, requiresCVC, and requiresPostalCode to toggle the displayed fields of CreditCardInput.
  • onChange will not receive focused value, because focusing on a field will not trigger onChange event which might cause rage, confusion, and pain when using the focused value
  • Now you could use onFocus to properly get the currently focused field (e.g. when you want to display a help text just like this)