1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-09-08 21:30:40 +02:00

preact icons bug fix

This commit is contained in:
codecalm
2024-05-21 21:23:46 +02:00
parent 935ee7d6d3
commit 2ac418910a

View File

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