mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Pass ReactTextViewManagerCallback to ReactTextShadowNode by default
Summary: Simplify interface slightly to remove need for overrides. Changelog: [Internal] Reviewed By: ryancat Differential Revision: D34960490 fbshipit-source-id: 0b1614fe500518b17eaae2542b0793089f3f0d4f
This commit is contained in:
1 parent
ecc63daf4b
commit
c1cb21d582
1 file changed
+1
-1
@@ -66,7 +66,7 @@ public class ReactTextViewManager
|
||||
|
||||
@Override
|
||||
public ReactTextShadowNode createShadowNodeInstance() {
|
||||
return new ReactTextShadowNode();
|
||||
return new ReactTextShadowNode(mReactTextViewManagerCallback);
|
||||
}
|
||||
|
||||
public ReactTextShadowNode createShadowNodeInstance(
|
||||
|
||||
Reference in new issue
Block a user