From 432f3556785c48780ec7dc937594ca9d5946e7d9 Mon Sep 17 00:00:00 2001 From: Phillip Lovelace Date: Fri, 21 Jun 2024 11:27:31 -0700 Subject: [PATCH] fix(Icon): adds back rest to icon component (#1898) * fix: adds back rest to icon * fix: add rest to element --- packages/sage-react/lib/Icon/Icon.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sage-react/lib/Icon/Icon.jsx b/packages/sage-react/lib/Icon/Icon.jsx index 0dd0a1b051..c1f8b23892 100644 --- a/packages/sage-react/lib/Icon/Icon.jsx +++ b/packages/sage-react/lib/Icon/Icon.jsx @@ -15,6 +15,7 @@ export const Icon = ({ icon, label, size, + ...rest }) => { const classNames = classnames( className, @@ -57,7 +58,7 @@ export const Icon = ({ }; const renderIcon = () => ( - + ); const setBackgroundDimensions = () => {