Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1848 X-link: https://github.com/facebook/react-native/pull/53338 Adding trailing commas to folders: - xplat/js/react-native-github/packages/react-native - xplat/kotlin/ast_tools/core/src - xplat/kotlin_compiler_plugins/template/src/main - xplat/kotlin/kotlin_multiplatform_template/src/commonMain - xplat/libraries/bloks/bloks-debugging/src - xplat/libraries/bloks/bloks-lispy/src - xplat/libraries/bloks/bloks-step-debugger/src - xplat/mdv/uifiddle-prototype/android-server/playground - xplat/mdv/uifiddle-prototype/android-server/server - xplat/oxygen/common/src/test - xplat/oxygen/mpts/src/main - xplat/oxygen/mpts/src/test - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaAccessoryTest - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaWearableSDKSampleApp - xplat/prototypes/smartglasses/AndroidStudioProjects/MetaWearableSDK - xplat/prototypes/smartglasses/AndroidStudioProjects/Voice - xplat/ReactNative/react-native-cxx/react/renderer - xplat/rtc/media/tools/audio - xplat/security/prodsec/android/codetransparency - xplat/security/prodsec/siggy/java - xplat/simplesql/codegen/java/com - xplat/sonar/android/plugins/jetpack-compose - xplat/sonar/android/plugins/leakcanary2 - xplat/sonar/android/plugins/litho - xplat/sonar/android/plugins/retrofit2-protobuf - xplat/sonar/android/sample/src - xplat/sonar/android/src/facebook Reviewed By: dtolnay Differential Revision: D80452590 fbshipit-source-id: 2bc79edba21e913f6121a25a269c1a4258f5f31c
34 lines
828 B
Kotlin
34 lines
828 B
Kotlin
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
package com.facebook.yoga
|
|
|
|
public abstract class YogaConfig {
|
|
public abstract fun setExperimentalFeatureEnabled(
|
|
feature: YogaExperimentalFeature,
|
|
enabled: Boolean,
|
|
)
|
|
|
|
public abstract fun setUseWebDefaults(useWebDefaults: Boolean)
|
|
|
|
public abstract fun setPointScaleFactor(pixelsInPoint: Float)
|
|
|
|
public abstract fun setErrata(errata: YogaErrata)
|
|
|
|
public abstract fun getErrata(): YogaErrata
|
|
|
|
public abstract fun setLogger(logger: YogaLogger)
|
|
|
|
public abstract fun getLogger(): YogaLogger
|
|
|
|
protected abstract fun getNativePointer(): Long
|
|
|
|
public companion object {
|
|
public var SPACING_TYPE: Int = 1
|
|
}
|
|
}
|