@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
22 lines (19 loc) • 649 B
JavaScript
;
import { ActionHandlingComponentWrapper } from './ActionHandlingComponentWrapper';
/** Native module interface for address-lookup-capable components */
/**
* Abstract wrapper for Native Modules that support Address Lookup.
* @typeParam T - The specific native module interface for the concrete wrapper
*/
export class AddressLookupModule extends ActionHandlingComponentWrapper {
update(results) {
this.nativeModule.update(results);
}
confirm(address) {
this.nativeModule.confirm(true, address);
}
reject(error) {
this.nativeModule.confirm(false, error);
}
}
//# sourceMappingURL=AddressLookupModule.js.map