Open oskarleonard opened 1 month ago
Describe the bug When upgrading from "4.0.22" to latest i can no longer attach a className (using nativewind) to the SVGs
To Reproduce
import DownloadIcon from '~shared/assets/downloadIcon.svg'; <DownloadIcon className="text-white" />
The above works in v4.0.22 but not in "4.0.25" and later version
Yeah, running into the same problem here. Adding this helps a bit:
cssInterop(Svg, { className: 'style' })
But even then some classes like fill-* don't work.
fill-*
Describe the bug When upgrading from "4.0.22" to latest i can no longer attach a className (using nativewind) to the SVGs
To Reproduce
The above works in v4.0.22 but not in "4.0.25" and later version