mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Migrate YogaConfigFactory to Kotlin
Summary: Migrate com.facebook.yoga.YogaConfigFactory to Kotlin. X-link: https://github.com/facebook/yoga/pull/1833 Reviewed By: rshest Differential Revision: D79897762 Pulled By: cortinico fbshipit-source-id: 9457b307204f2066a02690f96a88fce6755f915e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
91e69b5d4c
commit
33ca53d9db
+3
-5
@@ -5,10 +5,8 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.yoga;
|
||||
package com.facebook.yoga
|
||||
|
||||
public abstract class YogaConfigFactory {
|
||||
public static YogaConfig create() {
|
||||
return new YogaConfigJNIFinalizer();
|
||||
}
|
||||
public object YogaConfigFactory {
|
||||
@JvmStatic public fun create(): YogaConfig = YogaConfigJNIFinalizer()
|
||||
}
|
||||
Reference in New Issue
Block a user