BREAKING: Add interface for ReactShadowNode

Reviewed By: AaaChiuuu

Differential Revision: D5943137

fbshipit-source-id: 00950190e0256303d423ae86c6c18facf173ad6a
This commit is contained in:
David Vacca
2017-10-02 08:59:06 -07:00
committed by Facebook Github Bot
parent 9c4ec30c15
commit a5d1d25f56
16 changed files with 1287 additions and 883 deletions

View File

@@ -109,7 +109,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);