react-credit-card-payment
React Credit Card Payment ===
Last updated a year ago by timothyalfares .
Original npm · Tarball · package.json
$ cnpm install react-credit-card-payment 
SYNC missed versions from official npm registry.

React Credit Card Payment

alt text

Install

npm install --save react-credit-card-payment

Usage

    import Card from 'react-credit-card-payment'
    ...

    <Card
      bankName='ANZ Bank'
      cardHolder='Andrew White'
      cardNumber='1234567898765432'
      issuer='mastercard'
      theme='light'
    />

Props

  • bankName(string): Bank or institution name for the card. Default value is 'Bank Name'
  • cardHolder (string): Card holder name. Default value is 'Card Holder'
  • cardNumber (string): Card number for the card. Default value is '**** **** **** ****'
  • issuer (string): Set the issuer for the card. Default value is empty. (valid value: 'mastercard' | 'visa')
  • theme (string): Theme of the card. Default value is 'light'. (valid value: 'light' | 'dark')

Copyright Timothy Alfares 2018

Current Tags

  • 0.1.3                                ...           latest (a year ago)

4 Versions

  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 0
Last Month 1
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |