Skip to content

Commit

Permalink
Update packages/icons-scripts/scripts/output/react.js
Browse files Browse the repository at this point in the history
Co-authored-by: Inomdzhon Mirdzhamolov <[email protected]>
  • Loading branch information
SevereCloud and inomdzhon authored Dec 5, 2024
1 parent 8c235ef commit 97efade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons-scripts/scripts/output/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const ${componentName}: React.FC<${componentName}Props> & ${typeAssigns}
viewBox={viewBox}
width={width}
height={height}
style={{color: fill, ...style}}
style={fill ? { color: fill, ...style } : style}
${attrs ? `{...${JSON.stringify(attrs)}}` : ''}
{...restProps}
>
Expand Down

0 comments on commit 97efade

Please sign in to comment.