UNPKG

@adyen/react-native

Version:

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

20 lines (19 loc) 714 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _configPlugins = require("@expo/config-plugins"); var _withAdyenAndroid = require("./withAdyenAndroid"); var _withAdyenIos = require("./withAdyenIos"); const pkg = require('@adyen/react-native/package.json'); const withAdyen = (config, props) => { config = (0, _withAdyenIos.withAdyenIos)(config, props ?? { merchantIdentifier: undefined, useFrameworks: false }); config = (0, _withAdyenAndroid.withAdyenAndroid)(config); return config; }; var _default = exports.default = (0, _configPlugins.createRunOncePlugin)(withAdyen, pkg.package, pkg.version); //# sourceMappingURL=withAdyen.js.map