UNPKG

@kirz/expo-content-blocker

Version:
16 lines (15 loc) 544 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const withBlockerIos_1 = require("./withBlockerIos"); const withBlockerProvider = (config, props) => { // if props are undefined, throw error // if (!props) { // throw new Error( // 'You are trying to use the utoFillCredentialProvider plugin without any props.' // ); // } // validatePluginProps(props); config = (0, withBlockerIos_1.withBlockerIos)(config, props); return config; }; exports.default = withBlockerProvider;