fix the color of the icon in IconButton (#565)

* f

* Create slow-doors-look.md
This commit is contained in:
Jakub Kotula 2024-05-23 10:38:26 +02:00 committed by GitHub
parent 4755eb8066
commit 1a17092555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@status-im/components": patch
---
fix the color of the icon in IconButton

View File

@ -50,7 +50,7 @@ const IconButton = (props: Props, ref: Ref<View>) => {
activeBlur={blur ? (selected ? variant : undefined) : undefined}
>
{cloneElement(icon, {
color,
color: icon.props.color ?? color,
size: 20,
})}
</Base>