Use findNodeHandle from RendererProxy instead of Paper in usages within the react-native package

Summary:
This replaces all direct references to `ReactNative` within the `react-native` package to use `findNodeHandle` with a reference obtained from `RendererProxy`, which will allow us to select the correct renderer.

Changelog: [internal]

Reviewed By: javache

Differential Revision: D39270689

fbshipit-source-id: a39875281ba7b7b1b00128564124b6adcacebc4d
This commit is contained in:
Rubén Norte authored and Facebook GitHub Bot committed 2022-09-08 11:12:06 -07:00
1 parent b06cae3681
commit 699dabb2e3
10 files changed
+26 -32

No files matched your search

@@ -14,7 +14,7 @@
const React = require('react');
const Platform = require('../../Utilities/Platform');
const {findNodeHandle} = require('../../Renderer/shims/ReactNative');
const {findNodeHandle} = require('../../ReactNative/RendererProxy');
import {Commands as AndroidTextInputCommands} from '../../Components/TextInput/AndroidTextInputNativeComponent';
import {Commands as iOSTextInputCommands} from '../../Components/TextInput/RCTSingelineTextInputNativeComponent';