Skip to content

Commit

Permalink
fix Tab icons color (#483)
Browse files Browse the repository at this point in the history
* fix Tab icons color

* ch
  • Loading branch information
felicio authored Sep 26, 2023
1 parent 47d5316 commit a159ac9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-falcons-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@status-im/components': patch
---

fix Tab icons color
5 changes: 4 additions & 1 deletion packages/components/src/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ const TabsTrigger = (props: TriggerProps, ref: Ref<View>) => {
active={selected}
>
{props.type === 'icon' &&
cloneElement(props.icon, { size: iconSizes[size] })}
cloneElement(props.icon, {
size: iconSizes[size],
color,
})}

{props.type === 'step' && <Step type="complete" value={props.step} />}

Expand Down

2 comments on commit a159ac9

@vercel
Copy link

@vercel vercel bot commented on a159ac9 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

status-web – ./apps/web

status-web.vercel.app
status-web-status-im-web.vercel.app
status-web-git-main-status-im-web.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a159ac9 Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

status-components – ./packages/components

status-components.vercel.app
status-components-git-main-status-im-web.vercel.app
status-components-status-im-web.vercel.app

Please sign in to comment.