diff --git a/Libraries/ReactNative/DummyUIManager.js b/Libraries/ReactNative/DummyUIManager.js index 0e71ecc63fa3ef..dd887bc12b42e3 100644 --- a/Libraries/ReactNative/DummyUIManager.js +++ b/Libraries/ReactNative/DummyUIManager.js @@ -11,10 +11,13 @@ 'use strict'; module.exports = { - getViewManagerConfig: (viewManagerName: string): null => { + getViewManagerConfig: (viewManagerName: string): mixed => { console.warn( 'Attempting to get config for view manager: ' + viewManagerName, ); + if (viewManagerName === 'RCTVirtualText') { + return {}; + } return null; }, getConstants: (): {...} => ({}),