Skip to content

Commit

Permalink
preact icons bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
codecalm committed May 21, 2024
1 parent 935ee7d commit 2ac4189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons-preact/src/createPreactComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const createPreactComponent = (
stroke: color,
}),
style,
...rest,
...[rest],
},
[...iconNode.map(([tag, attrs]) => h(tag, attrs)), ...toChildArray(children)],
);
Expand Down

0 comments on commit 2ac4189

Please sign in to comment.