mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
b06cae3681
commit
699dabb2e3
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user