Text
fun Text(text: String, modifier: Modifier = Modifier, style: TextStyle = KPDesign.typography.subtitleMedium, onClick: () -> Unit)
Default text used for TextField trailing container
Parameters
text
The text to be displayed
modifier
The Modifier to be applied to this text
style
A TextStyle object that defines the text style
@param onClick A lambda function that will be called when the user clicks on the text.