[Issue] Double wrapper
leobenkel opened this issue · comments
Leo Benkel commented
Hello,
Thank you for this library, it is amazing.
I noticed that when I set the wrapper
to anything, be a span
or div
, it then double wrap the svg
, like that:
<div class={className}>
<div>
<svg>
...
</svg>
</div>
</div>
I would expect only one wrap, no ?
Tane Morgan commented
Thanks for the kind words 🙏
The double wrapper is deliberate, please refer to "Why are there two wrapping elements?" in the FAQ.
Leo Benkel commented
Ah sorry 🤦 !
Thank you for pointing me in the right direction.