UNPKG

react-native-xprinter-thermal-ble

Version:
18 lines (17 loc) 726 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.XprinterThermal = void 0; var _reactNative = require("react-native"); const LINKING_ERROR = `The package 'react-native-xprinter-thermal' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo managed workflow\n'; const XprinterThermal = _reactNative.NativeModules.XprinterThermal ? _reactNative.NativeModules.XprinterThermal : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); exports.XprinterThermal = XprinterThermal; //# sourceMappingURL=index.js.map