/* * 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 YogaDisplay(public val intValue: Int) { FLEX(0), NONE(1), CONTENTS(2), GRID(3); public fun intValue(): Int = intValue public companion object { @JvmStatic public fun fromInt(value: Int): YogaDisplay = when (value) { 0 -> FLEX 1 -> NONE 2 -> CONTENTS 3 -> GRID else -> throw IllegalArgumentException("Unknown enum value: $value") } } }