title: Error while updating property 'width' in shadow node of type: RNSVGsvgView
body: <p>I have encountered this error after installing <code>react-native-svg</code>. I have all svg icons in a separate <code>.js</code> file and calling them as follows,</p>
  
  <pre><code>&lt;Icons name={'dot'} style={{height:4, width:4, marginRight:10}} color={"#D8D8D8"}/&gt;
  </code></pre>
  
  <p>as per this <a href="http://Error%20while%20updating%20property%20%E2%80%9Cwidth%E2%80%9D(or%20other)%20in%20shadow%20node%20of%20type%20:%20RCTIMage%20View" rel="nofollow noreferrer">Solution</a>, What ever the values I have given in style object are integers only. But still I am facing this error.</p>
  
  <p>As per this <a href="https://github.com/facebook/react-native/issues/21002" rel="nofollow noreferrer">git Solution</a>, some one is asking to downgrade and some one is asking to upgrade react native. But not sure which one gives permanent fix to this error.</p>
  
  <p>Can somebody please let me know root cause of the error and permanent fix for this.
  Thank You.  </p>