tabler / tabler-icons

A set of over 5500 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.03k stars 897 forks source link

Fix preact icon attribute spreading #1222

Closed ycmjason closed 2 days ago

ycmjason commented 2 weeks ago

Currently when passing in html props, e.g. id="hello", to a react icon component would cause the render to show 0="[object Object]". This is due to the fact that we are wrapping rest in [rest].

This PR fixes that.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tabler-icons ✅ Ready (Inspect) Visit Preview Sep 14, 2024 8:42am
codecalm commented 2 days ago

thank you for help!