Open iolyd opened 12 months ago
Hotfix: @abineo/svelte-icons.
Should be a drop in replacement, except that size
is set to 1em
(font size).
@christoph-jeanluc-schneider good idea with that fork. I ended up switching to https://github.com/lucide-icons/lucide due to the standing issue with dev/build slowdowns with tabler-icons.
The
IconProps
interface is typed incorrectly and ends up being too zealous with only accepting number values forsize
andstroke
. Looking at how the props are used within the components, passing string values to either of these should be considered valid. For example:consists of valid prop values in the scope of SVG attributes, and actually works as is although it makes typescript cry no-no.