@satheshsat/react-creditcard
v1.0.2
Published
Creditcard generator and validator
Downloads
2
Maintainers
Readme
React creditcard
Made with create-react-library
Install
npm install --save @satheshsat/react-creditcard
Usage
import React, { Component } from 'react'
import { generateCard, validateCard } from '@satheshsat/react-creditcard'
class Example extends Component {
validateCard(generateCard().cardNumber);
render() {
return (<div></div>)
}
}
License
MIT © satheshsat