Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-18 02:14:21 -07:00
parent e11e2d953d
commit 8db1038e3f
6 changed files with 31 additions and 16 deletions

View file

@ -40,6 +40,7 @@ fun TangemIconButton(
@DrawableRes iconRes: Int,
onClick: () -> Unit,
modifier: Modifier = Modifier,
enabled: Boolean = true,
shape: RoundedCornerShape = RoundedCornerShape(24.dp),
background: Color = TangemTheme.colors.button.secondary,
iconTint: Color = TangemTheme.colors.icon.secondary,
@ -52,7 +53,7 @@ fun TangemIconButton(
modifier = modifier
.size(24.dp)
.clip(shape)
.clickable(onClick = onClick)
.clickable(onClick = onClick, enabled = enabled)
.background(background)
.padding(innerPadding),
)