remove white space from SVG in react
hey,
in regular html I would use svgsprite for this but it doenst work for react ,How do implement this with react?
2 Replies
nvm, I found the answer myself
if anyone is wondering how I did it with this website : https://svgcrop.com/
for people looking for this without react, you can simply change the
viewBox
attribute to the x, y, width and height of the area you want
in this case, it is that window, so, you can find these values very easily
this way, you also dont have to upload your files to some server for that