From a159ac946c2261766cefab81e2a728277d37366c Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Tue, 26 Sep 2023 12:36:48 +0200 Subject: [PATCH] fix Tab icons color (#483) * fix Tab icons color * ch --- .changeset/bright-falcons-arrive.md | 5 +++++ packages/components/src/tabs/tabs.tsx | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/bright-falcons-arrive.md diff --git a/.changeset/bright-falcons-arrive.md b/.changeset/bright-falcons-arrive.md new file mode 100644 index 00000000..e8c0d02a --- /dev/null +++ b/.changeset/bright-falcons-arrive.md @@ -0,0 +1,5 @@ +--- +'@status-im/components': patch +--- + +fix Tab icons color diff --git a/packages/components/src/tabs/tabs.tsx b/packages/components/src/tabs/tabs.tsx index b4c817a6..01510f68 100644 --- a/packages/components/src/tabs/tabs.tsx +++ b/packages/components/src/tabs/tabs.tsx @@ -111,7 +111,10 @@ const TabsTrigger = (props: TriggerProps, ref: Ref) => { active={selected} > {props.type === 'icon' && - cloneElement(props.icon, { size: iconSizes[size] })} + cloneElement(props.icon, { + size: iconSizes[size], + color, + })} {props.type === 'step' && }