@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
20 lines (18 loc) • 699 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ActionHandlingComponentWrapper = void 0;
var _PaymentComponentWrapper = require("./PaymentComponentWrapper");
/** Native module interface for action-handling components */
/**
* Wrapper for Native Modules that support Action handling.
* @typeParam T - The specific native module interface for the concrete wrapper
*/
class ActionHandlingComponentWrapper extends _PaymentComponentWrapper.PaymentComponentWrapper {
handle(action) {
this.nativeModule.handle(action);
}
}
exports.ActionHandlingComponentWrapper = ActionHandlingComponentWrapper;
//# sourceMappingURL=ActionHandlingComponentWrapper.js.map