1.0.18 • Published 10 months ago

card-reader-widget v1.0.18

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Card reader widget (CRW)

CRW is a react library for capture the credit card images.

Installation

If you are using npm,

npm install card-reader-widget

For yarn,

yarn add card-reader-widget

Usage

//App.js
import React from 'react';
import CardReader from 'card-reader-widget'
import './App.css';


function App() {
  const onDone = (response) => {
   console.log('response', response);
  }
  return (
    <div>
      <CardReader logger={console.log} onDone={onDone} />
    </div>
  );
};

export default App;

Add this in your App.css

@import '~card-reader-widget/src/App.css';

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

1.0.18

10 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago