var _extends=Object.assign||function(target){for(var i=1;i2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];} return _reactNative.Platform.select({ android:function android(){return _reactNative.UIManager.dispatchViewManagerCommand( (0,_reactNative.findNodeHandle)(instance), _reactNative.UIManager[realViewName].Commands[name], args);}, ios:function ios(){return nativeModule[name].apply(nativeModule,[(0,_reactNative.findNodeHandle)(instance)].concat(args));}, default:function _default(){}})(); }; result.updateView=function(instance,props){ var native=function native(){return _reactNative.UIManager.updateView((0,_reactNative.findNodeHandle)(instance),realViewName,props);}; _reactNative.Platform.select({ ios:native, android:native, default:function _default(){}})(); }; if(componentOverrides){ var _overrides=componentOverrides[version]; if(_overrides){ if(__DEV__){ if(typeof _overrides!=='function'){ console.error((0,_dedent2.default)(_templateObject2, PRIMARY_VIEW_NAME, version, typeof _overrides)); } } result=_overrides(nativeComponent,nativeModule); if(__DEV__){ if(typeof result!=='function'){ console.error((0,_dedent2.default)(_templateObject3, PRIMARY_VIEW_NAME, version, typeof result)); } } } } return result; } module.exports=SafeComponentCreate;