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 = {
|
const style = {
|
||||||
strokeWidth: 1.5,
|
strokeWidth: 1.5,
|
||||||
className: className,
|
|
||||||
...(stroke && { stroke: stroke }),
|
...(stroke && { stroke: stroke }),
|
||||||
...(iconColor && { color: iconColor, stroke: stroke }),
|
...(iconColor && { color: iconColor, stroke: stroke }),
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TargetIcon
|
<TargetIcon
|
||||||
|
className={className}
|
||||||
style={style}
|
style={style}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
data-testid={id ? `${id}-${name}` : `icon-${name}`}
|
data-testid={id ? `${id}-${name}` : `icon-${name}`}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue