7a1624fab4989cded4965959997a9e66.json 1.52 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _invariant=_interopRequireDefault(require(\"fbjs/lib/invariant\"));var ensureComponentIsNative=function ensureComponentIsNative(component){(0,_invariant.default)(component&&typeof component.setNativeProps==='function','Touchable child must either be native or forward setNativeProps to a native component');};var _default=ensureComponentIsNative;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/ensureComponentIsNative/index.js"],"names":["ensureComponentIsNative","component","setNativeProps"],"mappings":"mKAQA,qEAEA,GAAIA,CAAAA,uBAAuB,CAAG,QAASA,CAAAA,uBAAT,CAAiCC,SAAjC,CAA4C,CACxE,uBAAUA,SAAS,EAAI,MAAOA,CAAAA,SAAS,CAACC,cAAjB,GAAoC,UAA3D,CAAuE,uFAAvE,EACD,CAFD,C,aAIeF,uB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar ensureComponentIsNative = function ensureComponentIsNative(component) {\n  invariant(component && typeof component.setNativeProps === 'function', 'Touchable child must either be native or forward setNativeProps to a native component');\n};\n\nexport default ensureComponentIsNative;"]},"metadata":{},"sourceType":"script"}