Check out example codes for "responsive svg image in html". It will help you in understanding the concepts better.

Code Example 1

/* responsive svg */
/* NOTE: remove default width and height and replace it with values in viewbox */
<svg version="1.1" viewBox="0 0 500 500">
	<circle fill="#F7941E" stroke="#231F20" stroke-width="10" 
	cx="250" cy="250" r="200" opacity="0.6" />
</svg>

Learn ReactJs, React Native from akashmittal.com