Skip to content

Commit

Permalink
fix: add rest to element
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflips committed Jun 21, 2024
1 parent c5761ac commit 9911d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sage-react/lib/Icon/Icon.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Icon = ({
};

const renderIcon = () => (
<pds-icon name={icon} class={`t-sage--color-${color} ${classNames}`} size={sizeMapping[size]} />
<pds-icon name={icon} class={`t-sage--color-${color} ${classNames}`} size={sizeMapping[size]} {...rest} />
);

const setBackgroundDimensions = () => {
Expand Down

0 comments on commit 9911d71

Please sign in to comment.