preact icons bug fix
This commit is contained in:
parent
935ee7d6d3
commit
2ac418910a
|
|
@ -33,7 +33,7 @@ const createPreactComponent = (
|
|||
stroke: color,
|
||||
}),
|
||||
style,
|
||||
...rest,
|
||||
...[rest],
|
||||
},
|
||||
[...iconNode.map(([tag, attrs]) => h(tag, attrs)), ...toChildArray(children)],
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue