ComposeValue
A type alias for a composable lambda function with no parameters and a return value of type T. Useful for types of properties of a ComposableContent where a compose scope is needed
Example usage:
data class MyButton(
private val title: String,
private val containerColor: ComposeValue<Color> = { Colors.primary },
private val onClick: () -> Unit,
) : ComposableContent
Content copied to clipboard