UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

23 lines (22 loc) 691 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DropInComponentWrapper = void 0; var _ActionHandlingComponentWrapper = require("./ActionHandlingComponentWrapper"); class DropInComponentWrapper extends _ActionHandlingComponentWrapper.ActionHandlingComponentWrapper { removeStored(success) { this.nativeModule.removeStored(success); } update(results) { this.nativeModule.update(results); } confirm(address) { this.nativeModule.confirm(true, address); } reject(error) { this.nativeModule.confirm(false, error); } } exports.DropInComponentWrapper = DropInComponentWrapper; //# sourceMappingURL=DropInComponentWrapper.js.map