All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.huanshankeji.compose.foundation.text.BasicText.kt Maven / Gradle / Ivy

Go to download

Common wrappers of components (including layouts) and modifiers for Compose UI (Android, desktop (JVM), iOS, and web (Kotlin/Wasm)) and Compose HTML

The newest version!
package com.huanshankeji.compose.foundation.text

import androidx.compose.runtime.Composable
import com.huanshankeji.compose.ui.Modifier
import com.huanshankeji.compose.ui.graphics.ColorProducer

@Deprecated(
    "This is not needed as there in a `TaglessBasicText` composable. Use the one below.",
    level = DeprecationLevel.HIDDEN
)
@Composable
fun BasicText(text: String) =
    BasicText(text, Modifier, null)

@Composable
expect fun BasicText(text: String, modifier: Modifier = Modifier, color: ColorProducer? = null)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy