preact icons bug fix

This commit is contained in:
codecalm 2024-05-21 21:23:46 +02:00
parent 935ee7d6d3
commit 2ac418910a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ const createPreactComponent = (
stroke: color,
}),
style,
...rest,
...[rest],
},
[...iconNode.map(([tag, attrs]) => h(tag, attrs)), ...toChildArray(children)],
);