Slicing through a vector, as simple as it sounds can cause confusing at first. But its actually a problem quite simple to fix.
Converting images to svg
https://react-svgr.com/playground/
Converting paths/lines to shapes
Select all paths you want to convert to shapes