Package Exports
- @jeremiahblanch/react-scanner
- @jeremiahblanch/react-scanner/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jeremiahblanch/react-scanner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React QR Scanner
Forked from @alzera/react-scanner. [https://github.com/alzera/react-scanner.git]
Differences within this fork:
- When the user chooses their camera (device), the choice is stored in localStorage and retrieved the next time. This mkaes better UX for using the tool over and over again.
- Adds a CSS class
barcode-scanner__device-selectoron the<select>element for choosing the camera, so it can be styled with outside CSS. - Adds a new prop
canSwitchToImagewhich defaults totrue. Setting this to false disables the image upload option.