react-svg-loader icon indicating copy to clipboard operation
react-svg-loader copied to clipboard

Generated React component is incorrect

Open Donato-EF opened this issue 5 years ago • 1 comments

Hi,

while converting some svg to React Element I found out that some of the path are removed and merged inside the code.

Screenshot 2020-02-18 at 10 58 07

Could you please help?

Cheers.

Donato-EF avatar Feb 18 '20 10:02 Donato-EF

@Donato-EF - that's most likely due to the SVGO default configuration options. You will want to disable SVGO rules if you want the paths to be exactly as in the file.

pachuka avatar May 05 '20 14:05 pachuka