diff --git a/Libraries/ReactNative/requireNativeComponent.js b/Libraries/ReactNative/requireNativeComponent.js index 0e09ad9f8..6d215e79f 100644 --- a/Libraries/ReactNative/requireNativeComponent.js +++ b/Libraries/ReactNative/requireNativeComponent.js @@ -101,7 +101,7 @@ function requireNativeComponent( const viewConfig = UIManager[viewName]; invariant( - viewConfig != null && !viewConfig.NativeProps != null, + viewConfig != null && viewConfig.NativeProps != null, 'Native component for "%s" does not exist', viewName, );