Hey 👋
Thanks for the wonderful gem.
I used inline_svg a lot and one thing that this is different from that (and from regular Rails tag helpers) is that the class option is nested inside the options ... option.
Would you be open to a PR that would add the class attribute top-level? That would make it more inline with all the Rails tag helpers.
Thanks!
# Present
heroicon "map-pin", options: {class: "h-4"}
# Proposed API
heroicon "map-pin", class: "h-4"
Hey 👋
Thanks for the wonderful gem.
I used
inline_svga lot and one thing that this is different from that (and from regular Rails tag helpers) is that theclassoption is nested inside theoptions... option.Would you be open to a PR that would add the
classattribute top-level? That would make it more inline with all the Rails tag helpers.Thanks!