package theorycrafter.ui.widgets

import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color


/**
 * Encapsulates some text to display and the contents of its tooltip.
 */
class TextAndTooltip(


    /**
     * The text to display.
     */
    val text: String,


    /**
     * The color of the text.
     */
    val textColor: Color = Color.Unspecified,


    /**
     * The contents to display in the tooltip.
     */
    val tooltipContent: (@Composable () -> Unit)? = null


)
