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
font Weight
Font weight
text Align
Text alignment
font Style
Font style
max Lines
Maximum number of lines to display
overflow
Text overflow behavior