fix the color of the icon in IconButton (#565)
* f * Create slow-doors-look.md
This commit is contained in:
parent
4755eb8066
commit
1a17092555
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@status-im/components": patch
|
||||
---
|
||||
|
||||
fix the color of the icon in IconButton
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue