mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Add interface for ReactShadowNode
Reviewed By: AaaChiuuu Differential Revision: D5871546 fbshipit-source-id: 7c338fe3b747a79377a54867c789028d221b3dd5
This commit is contained in:
committed by
Facebook Github Bot
parent
6334ed2ff3
commit
08befb730b
@@ -97,7 +97,7 @@ public class UIImplementation {
|
||||
}
|
||||
|
||||
protected ReactShadowNode createRootShadowNode() {
|
||||
ReactShadowNode rootCSSNode = new ReactShadowNode();
|
||||
ReactShadowNode rootCSSNode = new ReactShadowNodeImpl();
|
||||
I18nUtil sharedI18nUtilInstance = I18nUtil.getInstance();
|
||||
if (sharedI18nUtilInstance.isRTL(mReactContext)) {
|
||||
rootCSSNode.setLayoutDirection(YogaDirection.RTL);
|
||||
|
||||
Reference in New Issue
Block a user