Text

fun RichTextScope.Text(text: RichTextString, modifier: Modifier = Modifier, onTextLayout: (TextLayoutResult) -> Unit = {}, softWrap: Boolean = true, overflow: TextOverflow = TextOverflow.Clip, maxLines: Int = Int.MAX_VALUE)

Renders a RichTextString as created with richTextString.

Samples

com.halilibo.richtext.ui.previews.TextPreview