@momo-kits/native-kits 0.89.16 → 0.89.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -117,7 +117,7 @@ fun getTextColor(type: ButtonType): Color {
|
|
|
117
117
|
fun RenderTitle(size: Size, title: String = "", type: ButtonType) {
|
|
118
118
|
val style = getStyle(size)
|
|
119
119
|
val color = getTextColor(type)
|
|
120
|
-
Text(style = style, text = title, color = color, overflow = TextOverflow.Ellipsis)
|
|
120
|
+
Text(style = style, text = title, color = color, overflow = TextOverflow.Ellipsis, maxLines = 1)
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
@Composable
|