commonMain.com.huanshankeji.compose.material.Text.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-multiplatform-material-jvm Show documentation
Show all versions of compose-multiplatform-material-jvm Show documentation
Material Design component wrappers for Compose Multiplatform (desktop/Android and web)
The newest version!
package com.huanshankeji.compose.material
import androidx.compose.runtime.Composable
import com.huanshankeji.compose.ui.Modifier
/**
* The `com.huanshankeji.compose.material.Text` function
* can be easily confused with other Composable functions named `Text`
* such as `androidx.compose.material.Text` and `org.jetbrains.compose.web.dom.Text`
* if not careful.
* @see com.huanshankeji.compose.material.ext.MaterialText
*/
@Composable
expect fun Text(text: String, modifier: Modifier = Modifier)