expo-esc-pos-utils
Version:
Expo module for ESC/POS printer utilities, supporting image printing and text formatting
12 lines • 399 B
JavaScript
import { registerWebModule, NativeModule } from 'expo';
class ExpoEscPosUtilsModule extends NativeModule {
PI = Math.PI;
async setValueAsync(value) {
this.emit('onChange', { value });
}
hello() {
return 'Hello world! 👋';
}
}
export default registerWebModule(ExpoEscPosUtilsModule, 'ExpoEscPosUtilsModule');
//# sourceMappingURL=ExpoEscPosUtilsModule.web.js.map