tabler / tabler-icons

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

Fix preact icon attribute spreading #1222

Closed ycmjason closed 1 month ago

ycmjason commented 2 months 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 months 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 1 month ago

thank you for help!