@linvix-sistemas/react-native-tectoysunmisdk
Version:
Pacote de comunicação com o hardware de Sunmi/Tectoy Automação, para efetuar impressão, comunicação com LCD entre outros.
27 lines (22 loc) • 532 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
const {
TectoySunmiSdk
} = _reactNative.NativeModules;
const AbrirGaveta = async () => {
try {
return await TectoySunmiSdk.openCashBox();
} catch (error) {
throw error;
}
};
const NativeModuleTectToySunmiCashBoxSDK = {
AbrirGaveta
};
var _default = NativeModuleTectToySunmiCashBoxSDK;
exports.default = _default;
//# sourceMappingURL=tectoysunmi-cashbox.js.map