UNPKG

react-native-xprinter-thermal-ble

Version:
11 lines 549 B
import { NativeModules, Platform } from 'react-native'; const LINKING_ERROR = `The package 'react-native-xprinter-thermal' doesn't seem to be linked. Make sure: \n\n` + 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'; export const XprinterThermal = NativeModules.XprinterThermal ? NativeModules.XprinterThermal : new Proxy({}, { get() { throw new Error(LINKING_ERROR); } }); //# sourceMappingURL=index.js.map