Check out example codes for "InlineSVG Error: Content type isn't valid: text/html". It will help you in understanding the concepts better.

Code Example 1

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  version="1.2" baseProfile="tiny" viewBox="0 0 800px 800px" width="800px" height="800px"

Learn ReactJs, React Native from akashmittal.com