Fixed className not appearing

This commit is contained in:
Lucas Oliveira 2023-11-29 14:02:41 -03:00
commit ab57b14c52

View file

@ -11,13 +11,13 @@ const ForwardedIconComponent = forwardRef(
const style = {
strokeWidth: 1.5,
className: className,
...(stroke && { stroke: stroke }),
...(iconColor && { color: iconColor, stroke: stroke }),
};
return (
<TargetIcon
className={className}
style={style}
ref={ref}
data-testid={id ? `${id}-${name}` : `icon-${name}`}