2.0.1 • Published 3 days ago
react-barcode-scanner v2.0.1
Introduction
A lightweight barcode scanner base on Barcode Detection API
, and polyfill use zbar.wasm
Usage
import { BarcodeScanner } from 'react-barcode-scanner'
export default () => {
return <BarcodeScanner />
}
Polyfill
To support SSR, v2.0.0
not auto import polyfill anymore, user need import it manually.
import "react-barcode-scanner/polyfill"
Detail
License
MIT