Skip to content

Commit 8f55738

Browse files
NickGerlemanfacebook-github-bot
authored andcommitted
Unfork Desktop TextNativeComponent (#55615)
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
1 parent 21ab455 commit 8f55738

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/react-native/Libraries/Text/TextNativeComponent.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ const textViewConfig = {
4747
dataDetectorType: true,
4848
android_hyphenationFrequency: true,
4949
lineBreakStrategyIOS: true,
50+
focusable: true,
51+
tooltip: true,
52+
href: true,
5053
},
5154
directEventTypes: {
5255
topTextLayout: {

0 commit comments

Comments
 (0)