mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
move yg node new and ygnode new with config
Summary: YGNode creation methods to vanilla JNI Reviewed By: amir-shalem Differential Revision: D17714230 fbshipit-source-id: 74e14e876ab7efc67771d92091c2a78f09072b83
This commit is contained in:
1 parent
952076e2bf
commit
b0b1666402
5 files changed
+47
-1
No files matched your search
@@ -5,6 +5,10 @@ public abstract class YogaNodeFactory {
|
||||
return new YogaNodeJNIFinalizer();
|
||||
}
|
||||
|
||||
public static YogaNode create(boolean useVanillaJNI) {
|
||||
return new YogaNodeJNIFinalizer(useVanillaJNI);
|
||||
}
|
||||
|
||||
public static YogaNode create(YogaConfig config) {
|
||||
return new YogaNodeJNIFinalizer(config);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user