RichText

fun RichText(modifier: Modifier = Modifier, style: <Error class: unknown class>? = null, children: @Composable <Error class: unknown class>.() -> Unit)

RichText implementation that integrates with Material 3 design.

If the consumer app has small composition trees or only uses RichText in a single place, it would be ideal to call this function instead of wrapping everything under RichTextMaterialTheme.