From 64f501fc3d24558715d67e515c068f19d68fd452 Mon Sep 17 00:00:00 2001 From: Parth Gartan Date: Wed, 1 Jul 2026 05:09:32 +0000 Subject: [PATCH 1/2] fix(icon): forward fill prop to path elements in ExternalLink and Download icons Signed-off-by: Parth Gartan --- src/icons/Download/Download.tsx | 11 +++++++---- src/icons/ExternalLink/Externallink.tsx | 8 ++++++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/icons/Download/Download.tsx b/src/icons/Download/Download.tsx index b4a7715ad..84239f44c 100644 --- a/src/icons/Download/Download.tsx +++ b/src/icons/Download/Download.tsx @@ -1,10 +1,11 @@ import { FC } from 'react'; -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; import { IconProps } from '../types'; + export const DownloadIcon: FC = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, - fill = '#455a64', + fill = DEFAULT_FILL_NONE, style = {} }) => ( = ({ height={height} viewBox="0 -960 960 960" width={width} - fill={fill} style={style} > - + ); diff --git a/src/icons/ExternalLink/Externallink.tsx b/src/icons/ExternalLink/Externallink.tsx index b4aebf133..c9c58d225 100644 --- a/src/icons/ExternalLink/Externallink.tsx +++ b/src/icons/ExternalLink/Externallink.tsx @@ -1,10 +1,11 @@ import { FC } from 'react'; -import { DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; +import { DEFAULT_FILL_NONE, DEFAULT_HEIGHT, DEFAULT_WIDTH } from '../../constants/constants'; import { IconProps } from '../types'; export const ExternalLinkIcon: FC = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, + fill = DEFAULT_FILL_NONE, ...props }) => { return ( @@ -15,7 +16,10 @@ export const ExternalLinkIcon: FC = ({ viewBox="0 -960 960 960" {...props} > - + ); }; From 45925f7a91ec785e53ba5f82d6de850e23174731 Mon Sep 17 00:00:00 2001 From: Parth Gartan Date: Wed, 1 Jul 2026 05:27:38 +0000 Subject: [PATCH 2/2] Apply {...props} to the tag. Signed-off-by: Parth Gartan --- src/icons/Download/Download.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/icons/Download/Download.tsx b/src/icons/Download/Download.tsx index 84239f44c..240473d61 100644 --- a/src/icons/Download/Download.tsx +++ b/src/icons/Download/Download.tsx @@ -6,14 +6,14 @@ export const DownloadIcon: FC = ({ width = DEFAULT_WIDTH, height = DEFAULT_HEIGHT, fill = DEFAULT_FILL_NONE, - style = {} + ...props }) => (