Migrate YogaConfigFactory to Kotlin #1833

Closed
mateoguzmana wants to merge 1 commits from feat/YogaConfigFactory into main

View File

@@ -5,10 +5,8 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
package com.facebook.yoga; package com.facebook.yoga
public abstract class YogaConfigFactory { public object YogaConfigFactory {
public static YogaConfig create() { @JvmStatic public fun create(): YogaConfig = YogaConfigJNIFinalizer()
return new YogaConfigJNIFinalizer();
}
} }