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} /> )