@open-tender/store
Version:
A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API
18 lines (17 loc) • 563 B
JavaScript
export var BarcodeScannerType;
(function (BarcodeScannerType) {
BarcodeScannerType["NONE"] = "NONE";
BarcodeScannerType["MORPHSTICK"] = "MORPHSTICK";
BarcodeScannerType["USB"] = "USB";
BarcodeScannerType["CAMERA"] = "CAMERA";
})(BarcodeScannerType || (BarcodeScannerType = {}));
var ScanListener = /** @class */ (function () {
function ScanListener() {
}
ScanListener.prototype.scannerComponent = function (callback) {
callback && callback();
return null;
};
return ScanListener;
}());
export { ScanListener };