UNPKG

@adyen/react-native

Version:

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

19 lines 762 B
import { NativeModule } from 'react-native'; import { Event } from '../core/constants'; import { PaymentMethodsResponse } from '../core/types'; import { AdyenComponent } from '../core/AdyenNativeModules'; /** * Wrapper for all Native Modules that do not support Action handling. * */ export declare class ComponentWrapper implements AdyenComponent { nativeModule: NativeModule | any; events: string[]; constructor(nativeModule: NativeModule, events?: Event[]); addListener(eventType: string): void; removeListeners(count: number): void; open(paymentMethods: PaymentMethodsResponse, configuration: any): void; hide(success: boolean, option?: { message?: string; }): void; } //# sourceMappingURL=ComponentWrapper.d.ts.map