mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Always enable TurboModuleExample for RN Tester
Summary: For some reason the turbomodule example inside RN Tester was not enabled by default. I'm enabling it. Changelog: [Internal] - Always enable TurboModuleExample for RN Tester Reviewed By: cipolleschi Differential Revision: D39381821 fbshipit-source-id: 711c20a51a2f3b274f1b9396d00898b0f60a6f86
This commit is contained in:
committed by
Facebook GitHub Bot
parent
737ce367b1
commit
54e50ea449
@@ -279,15 +279,12 @@ const APIs: Array<RNTesterModuleInfo> = [
|
||||
category: 'Basic',
|
||||
module: require('../examples/XHR/XHRExample'),
|
||||
},
|
||||
];
|
||||
|
||||
if (global.__turboModuleProxy) {
|
||||
APIs.push({
|
||||
{
|
||||
key: 'TurboModuleExample',
|
||||
category: 'Basic',
|
||||
module: require('../examples/TurboModule/TurboModuleExample'),
|
||||
});
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
if (ReactNativeFeatureFlags.shouldEmitW3CPointerEvents()) {
|
||||
APIs.push({
|
||||
|
||||
Reference in New Issue
Block a user