We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e652536 commit bc9e25eCopy full SHA for bc9e25e
packages/react-icons/scripts/writeIcons.mjs
@@ -79,12 +79,7 @@ function generateStaticSVG(iconName, icon) {
79
// Create icon component using createIcon
80
const IconComponent = createIcon({
81
name: jsName,
82
- width: icon.width,
83
- height: icon.height,
84
- svgPath: icon.svgPathData,
85
- xOffset: icon.xOffset || 0,
86
- yOffset: icon.yOffset || 0,
87
- svgClassName: icon.svgClassName
+ icon
88
});
89
90
// Render the component to string
0 commit comments