Skip to content

Releases: sbycrosz/react-native-credit-card-input

Bug Fixes

30 Dec 08:54
Compare
Choose a tag to compare
  • Fixes placeholderColor props #23

Add more props to CreditCardInput

26 Dec 15:46
Compare
Choose a tag to compare
  • Prop to enable horizontal swiping on form #22
  • Adding feature replace brand icons #21

Refactored CreditCardView & Latest RN support

06 Dec 04:15
Compare
Choose a tag to compare

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

Add toggle-able fields, Removed focused from onChange

17 Sep 16:10
Compare
Choose a tag to compare
  • 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)