Quote

fun Quote(modifier: Modifier = Modifier, text: Any, author: String? = null, color: Color = MaterialTheme.colorScheme.onSurface, fontWeight: FontWeight? = null, textAlign: TextAlign = TextAlign.Start, fontStyle: FontStyle = FontStyle.Italic, maxLines: Int = Int.MAX_VALUE, overflow: TextOverflow = TextOverflow.Ellipsis)

A quote text component for displaying quotes.

Parameters

modifier

Modifier to be applied to the text

text

Text to display. Can be String, Int or AnnotatedString

color

Text color

fontWeight

Font weight

textAlign

Text alignment

fontStyle

Font style

maxLines

Maximum number of lines to display

overflow

Text overflow behavior