Migrate YogaConfigFactory to Kotlin

This commit is contained in:
Mateo Guzmán
2025-08-07 21:23:58 +02:00
parent 8bf7a34d02
commit c1da0abf3f

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();
}
} }