@adyen/react-native
Version:
Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native
13 lines • 397 B
JavaScript
import { ComponentWrapper } from './ComponentWrapper';
/**
* Wrapper for all Native Modules that support Action handling.
* */
export class ActionHandlingComponentWrapper extends ComponentWrapper {
handle(action) {
this.nativeModule.handle(action);
}
}
export function isActionComponent(object) {
return 'handle' in object;
}
//# sourceMappingURL=ActionHandlingComponentWrapper.js.map