@satheshsat/react-creditcard
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

React creditcard

Made with create-react-library

NPM JavaScript Style Guide

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

Package Sidebar

Install

npm i @satheshsat/react-creditcard

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

83.3 kB

Total Files

9

Last publish

Collaborators

  • satheshsat