title: React.cloneElement { ReactComponent as SomeSVG }
body: <p>I am trying to get an SVG, which is passed as a prop. After I get it in the child component I want to add some props like that:</p>
  <pre><code>{React.cloneElement(ReactSVGasProp, { className: class })}
  </code></pre>
  <p>But I get:</p>
  <p><a href="https://i.stack.imgur.com/KHowM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KHowM.jpg" alt="enter image description here" /></a></p>