We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bf7a34 commit f15d0e5Copy full SHA for f15d0e5
2 files changed
java/com/facebook/yoga/YogaNodeFactory.java
java/com/facebook/yoga/YogaNodeFactory.kt
@@ -0,0 +1,14 @@
1
+/*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+package com.facebook.yoga
9
10
+public object YogaNodeFactory {
11
+ @JvmStatic public fun create(): YogaNode = YogaNodeJNIFinalizer()
12
13
+ @JvmStatic public fun create(config: YogaConfig?): YogaNode = YogaNodeJNIFinalizer(config)
14
+}
0 commit comments