Fixed className not appearing
This commit is contained in:
parent
9ed9a9dd49
commit
ab57b14c52
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue