0.1.3 • Published 7 years ago
react-credit-card-payment v0.1.3
React Credit Card Payment

Install
npm install --save react-credit-card-paymentUsage
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