@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
16 lines • 488 B
JavaScript
import { ActionHandlingComponentWrapper } from './ActionHandlingComponentWrapper';
export class DropInComponentWrapper extends 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);
}
}
//# sourceMappingURL=DropInComponentWrapper.js.map