UNPKG

@adyen/react-native

Version:

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

18 lines (16 loc) 440 B
"use strict"; /** Native module interface specific to Session */ export class SessionWrapper { constructor(nativeModule) { this.nativeModule = nativeModule; } hide(success, option) { this.nativeModule.hide(success, { message: option?.message ?? '' }); } createSession(session, configuration) { return this.nativeModule.createSession(session, configuration); } } //# sourceMappingURL=SessionWrapper.js.map