From b30e35b8a34eb74ad9d2572647b4edaddb181aa7 Mon Sep 17 00:00:00 2001 From: Tomi Olubeko <66456876+tomi-msft@users.noreply.github.com> Date: Thu, 25 Jan 2024 09:38:38 -0800 Subject: [PATCH] Remove primaryFill from bundleIcon prop bag (#685) --- packages/react-icons/src/utils/bundleIcon.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react-icons/src/utils/bundleIcon.tsx b/packages/react-icons/src/utils/bundleIcon.tsx index f4bcc17422..d471809804 100644 --- a/packages/react-icons/src/utils/bundleIcon.tsx +++ b/packages/react-icons/src/utils/bundleIcon.tsx @@ -11,7 +11,7 @@ const useBundledIconStyles = makeStyles({ const bundleIcon = (FilledIcon: FluentIcon, RegularIcon: FluentIcon) => { const Component: FluentIcon = (props) => { - const { className, primaryFill = 'currentColor', filled, ...rest } = props; + const { className, filled, ...rest } = props; const styles = useBundledIconStyles(); return ( @@ -23,7 +23,6 @@ const bundleIcon = (FilledIcon: FluentIcon, RegularIcon: FluentIcon) => { iconFilledClassName, className )} - primaryFill={primaryFill} /> { iconRegularClassName, className )} - primaryFill={primaryFill} /> )