Updated on 2026-08-14
This commit is contained in:
parent
80ca0095f1
commit
7edea4da00
16 changed files with 467 additions and 160 deletions
|
|
@ -75,6 +75,7 @@ fun Label(state: LabelUM, modifier: Modifier = Modifier) {
|
|||
.padding(horizontal = 8.dp, vertical = 4.dp),
|
||||
) {
|
||||
Text(
|
||||
modifier = Modifier.weight(1.0f, fill = false),
|
||||
text = text.resolveReference(),
|
||||
style = TangemTheme.typography.caption1,
|
||||
color = textColor,
|
||||
|
|
@ -125,7 +126,9 @@ private fun LabelPreview() {
|
|||
)
|
||||
Label(
|
||||
state = LabelUM(
|
||||
text = TextReference.Str("Regular Label"),
|
||||
text = TextReference.Str(
|
||||
"Regular long long long long long long long long long long long long Label",
|
||||
),
|
||||
style = LabelStyle.REGULAR,
|
||||
icon = R.drawable.ic_information_24,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue