/* * 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. */ // @generated by enums.py package com.facebook.yoga public enum class YogaBoxSizing(public val intValue: Int) { BORDER_BOX(0), CONTENT_BOX(1); public fun intValue(): Int = intValue public companion object { @JvmStatic public fun fromInt(value: Int): YogaBoxSizing = when (value) { 0 -> BORDER_BOX 1 -> CONTENT_BOX else -> throw IllegalArgumentException("Unknown enum value: $value") } } }