I have been trying to resize this svg element i have imported to my react project but with no luck in multiple ways
I import the SVG
import SVG from "../icon.svg"
then use it as an inline-svg
I tried
<SVG
style={{
fill: hover ? color : "#fff",
width="25px" // first method
height="25px" // first method
}}
viewBox="0 0 25 25" // second method
width="25" // third method
height="25" // third method
/>
also tried all of them with no luck
I also tried to cap the svg size by its container no luck
the parent svg element is resized but its paths are overflowing outside and not resizing properly with the values provided
the closest i can get to normal is when i set the height to a low number like 1-5 but anyways it will clip the icon
i am also using babel-plugin to import svg images as react components
what am i doing wrong here ?
svg i am using is under this link link