Open carloskiki opened 9 months ago
What needs to be done for 0.7
support?
I made an initial attempt at this: https://github.com/bicarlsen/leptos-icons/tree/0.7
KNOWN ISSUE
Generic attribute spreading does not work. This seems to have something to do with icondata_core::Icon
being passed as an argument into leptos_icons::Icon
causing it to not impl AsRef<Element>
which is required to impl leptos::prelude::ElementExt
.
I feel like we have reached the point where the crate is mostly done, and we are only left with a few unanswered questions/design decisions. Here they are:
class
,style
,width
, etc. (what we are currently doing) would be to use theattr
feature ofleptos
.TODOs
leptos
v0.7