Files
bsky-social-app/patches/react-native-uitextview+1.4.0+002+add Text.web.js.patch
Samuel Newman 43ffaf311e patch react-native-uitextview with Text.web.js
Adds a web-specific Text.web.js that re-exports RN's Text,
avoiding the requireNativeComponent import warning on web.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-26 12:05:29 +02:00

12 lines
438 B
Diff

diff --git a/node_modules/react-native-uitextview/lib/module/Text.web.js b/node_modules/react-native-uitextview/lib/module/Text.web.js
new file mode 100644
index 0000000..e80e220
--- /dev/null
+++ b/node_modules/react-native-uitextview/lib/module/Text.web.js
@@ -0,0 +1,5 @@
+import { Text as RNText } from 'react-native';
+export const RNUITextViewChild = RNText;
+export function UITextView(props) {
+ return <RNText {...props} />;
+}