Created
April 15, 2025 09:00
-
-
Save ifucolo/9487cd4906d6b8534bafc955b5a5c2b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun GenericText( | |
text: String, | |
modifier: Modifier = Modifier, | |
style: TextStyle = SanctusAppTypography.bodyMedium, | |
color: Color = Color.Unspecified, | |
fontSize: TextUnit = TextUnit.Unspecified, | |
fontWeight: FontWeight? = null, | |
textAlign: TextAlign? = null, | |
textDecoration: TextDecoration? = null, | |
maxLines: Int = Int.MAX_VALUE, | |
overflow: TextOverflow = TextOverflow.Clip | |
) { | |
Text( | |
text = text, | |
modifier = modifier, | |
style = style, | |
color = color, | |
fontSize = fontSize, | |
fontWeight = fontWeight, | |
textAlign = textAlign, | |
textDecoration = textDecoration, | |
maxLines = maxLines, | |
overflow = overflow | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment