commonMain.com.huanshankeji.compose.foundation.text.BasicText.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-multiplatform-html-unified-common
Show all versions of compose-multiplatform-html-unified-common
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