mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-12-03 16:59:42 +00:00
`absoluteStrokeWidth` scales the stroke by `Number(size)`, so a CSS unit such as `1em` produced `NaN` and a size of `0` produced `Infinity` – both invalid as a `stroke-width` attribute. Fall back to the unscaled stroke width whenever the conversion isn't finite, so the deprecated prop degrades rather than breaking the rendered icon.