@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
21 lines (20 loc) • 734 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScanListener = exports.BarcodeScannerType = void 0;
var BarcodeScannerType;
(function (BarcodeScannerType) {
BarcodeScannerType["NONE"] = "NONE";
BarcodeScannerType["MORPHSTICK"] = "MORPHSTICK";
BarcodeScannerType["USB"] = "USB";
BarcodeScannerType["CAMERA"] = "CAMERA";
})(BarcodeScannerType || (exports.BarcodeScannerType = BarcodeScannerType = {}));
var ScanListener = /** @class */ (function () {
function ScanListener() {
}
ScanListener.prototype.scannerComponent = function (callback) {
callback && callback();
return null;
};
return ScanListener;
}());
exports.ScanListener = ScanListener;