constraints | MediaTrackConstraints | { facingMode: 'environment' } | Specify which camera should be used (if available). |
containerStyle | object | none | Style object for the container element. |
videoStyle | object | none | Style object for the video element. |
scanDelay | number | 500 | The scan period for the QR hook. |
videoId | string | videoId | The Id for the video element. |
onResult | function | none | Scan event handler for result object. |
onDecode | function | none | Scan event handler for decode value. |
onError | function | none | Scan event handler for error object. |
ViewFinder | component | none | ViewFinder component to rendering as overlay in the video element |
hideCount | boolean | true | Hide the scanned count as overlay in the video element |