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

Vertical form support with rows #137

Closed jpamarohorta closed 2 months ago

jpamarohorta commented 5 years ago

This PR adds support for a vertical form with rows that can be defined via props. Example:

<CreditCardInput
  onChange={this._onChange}
  requiresName
  requiresCVC
  verticalForm
  verticalFormRows={[
    { fields: [{ name: 'name' }] },
    { fields: [{ name: 'number' }] },
    { fields: [{ name: 'expiry' }, { name: 'cvc'}] }]} />

This will render a vertical form with 3 rows:

  1. with the name input field
  2. with the number input field
  3. with the expiry and cvc fields in a horizontal row
jpamarohorta commented 5 years ago

Thanks for the approval. Any idea when this can be merged?

mmoufakkir1 commented 5 years ago

Any idea when this can be merged? +1

nicopir commented 5 years ago

Any idea when this can be merged? +1

mobileforsh commented 5 years ago

Any idea when this can be merged? +1

hopewise commented 5 years ago

Any idea when this can be merged? +1

fredericocurti commented 5 years ago

Please merge this its long overdue

josuearrieta commented 5 years ago

Who can actually merge this ?

ZeerakHameem32 commented 5 years ago

When will this be merged?

davisjr2000 commented 5 years ago

This needs to be merged

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

nikolajordanovski commented 4 years ago

any update on this?

Kingarturs commented 3 years ago

This should be merged +1

Shailja-niranjan commented 1 year ago

any update on this merge. +1