Skip to content

Commit

Permalink
Remove primaryFill from bundleIcon prop bag (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi-msft authored Jan 25, 2024
1 parent f968c8d commit b30e35b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-icons/src/utils/bundleIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<React.Fragment>
Expand All @@ -23,7 +23,6 @@ const bundleIcon = (FilledIcon: FluentIcon, RegularIcon: FluentIcon) => {
iconFilledClassName,
className
)}
primaryFill={primaryFill}
/>
<RegularIcon
{...rest}
Expand All @@ -33,7 +32,6 @@ const bundleIcon = (FilledIcon: FluentIcon, RegularIcon: FluentIcon) => {
iconRegularClassName,
className
)}
primaryFill={primaryFill}
/>
</React.Fragment>
)
Expand Down

0 comments on commit b30e35b

Please sign in to comment.