diff --git a/src/frontend/src/components/genericIconComponent/index.tsx b/src/frontend/src/components/genericIconComponent/index.tsx index 317614b6a..62299bdf6 100644 --- a/src/frontend/src/components/genericIconComponent/index.tsx +++ b/src/frontend/src/components/genericIconComponent/index.tsx @@ -4,13 +4,20 @@ import { nodeIconsLucide } from "../../utils/styleUtils"; const ForwardedIconComponent = forwardRef( ( - { name, className, iconColor, stroke, id = "" }: IconComponentProps, + { + name, + className, + iconColor, + stroke, + strokeWidth, + id = "", + }: IconComponentProps, ref ) => { const TargetIcon = nodeIconsLucide[name] ?? nodeIconsLucide["unknown"]; const style = { - strokeWidth: 1.5, + strokeWidth: strokeWidth ?? 1.5, ...(stroke && { stroke: stroke }), ...(iconColor && { color: iconColor, stroke: stroke }), }; diff --git a/src/frontend/src/modals/shareModal/index.tsx b/src/frontend/src/modals/shareModal/index.tsx index 8d64baf69..be4414354 100644 --- a/src/frontend/src/modals/shareModal/index.tsx +++ b/src/frontend/src/modals/shareModal/index.tsx @@ -209,7 +209,7 @@ export default function ShareModal({ > Share