Closed barbalex closed 7 months ago
Hm. data-slot
is not dataSlot
. Maybe the issue is in react-icons after all?
Hey, this isn't our issue. The library is copying/republishing our icons but not handling them right: https://github.com/react-icons/react-icons/blob/95168b93ee6b5813259392c2cc477bfa43beb238/packages/react-icons/scripts/logics.ts#L45
That script should not convert any data attributes to camel case.
Thanks for pointing this out!
Describe the bug
Since updating react-icons from v5.0.1 to 5.1.0 I get this warning in the console:
I happens when this component renders.
The prop is visible in the svg here:
Others have encountered the issue too: https://github.com/react-icons/react-icons/issues/931
It seems this stems from here: https://github.com/tailwindlabs/heroicons/blob/master/svgo.20.solid.mjs#L20
Expected behavior
no such warning