@beletsky/react-native-yandex-ads
Version:
16 lines (15 loc) • 746 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.registerComponent = void 0;
var _reactNative = require("react-native");
const LINKING_ERROR = `The package 'react-native-yandex-ads' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
ios: "- You have run 'pod install'\n",
default: ''
}) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
const registerComponent = componentName => _reactNative.UIManager.getViewManagerConfig(componentName) != null ? (0, _reactNative.requireNativeComponent)(componentName) : () => {
throw new Error(LINKING_ERROR);
};
exports.registerComponent = registerComponent;
//# sourceMappingURL=register.js.map