From b7c3d286417fc7a542a0a76a63c7ac67dd7ceea9 Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Wed, 18 Feb 2026 20:16:20 -0800 Subject: [PATCH] Unfork Desktop TextNativeComponent Summary: RN desktop seems to fork `TextNativeComponent` module, but not `Text`. This is to add more to ViewConfig. D92928315 updated both, and caused desktop version to be missing exports imported by `Text.js`. Let's just add the desktop properties to the ViewConfig to avoid the forking. Changelog: [Internal] Differential Revision: D93687897 --- packages/react-native/Libraries/Text/TextNativeComponent.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react-native/Libraries/Text/TextNativeComponent.js b/packages/react-native/Libraries/Text/TextNativeComponent.js index 020d5ceea8b6..3c093471f335 100644 --- a/packages/react-native/Libraries/Text/TextNativeComponent.js +++ b/packages/react-native/Libraries/Text/TextNativeComponent.js @@ -47,6 +47,9 @@ const textViewConfig = { dataDetectorType: true, android_hyphenationFrequency: true, lineBreakStrategyIOS: true, + focusable: true, + tooltip: true, + href: true, }, directEventTypes: { topTextLayout: {