fix(react-native-web): only add className prop to parent Icon component (#3892)

This commit is contained in:
Jakob Guddas
2025-12-18 11:43:31 +01:00
committed by GitHub
parent 3edcd9e0c3
commit a4531a9985
+2
View File
@@ -31,6 +31,7 @@ const Icon = forwardRef<SVGSVGElement, IconComponentProps>(
absoluteStrokeWidth,
children,
iconNode,
className,
...rest
},
ref,
@@ -46,6 +47,7 @@ const Icon = forwardRef<SVGSVGElement, IconComponentProps>(
{
ref,
...defaultAttributes,
className,
width: size,
height: size,
...customAttrs,