Closed dantman closed 7 years ago
I'm getting this error while trying to use this in RN 0.40. Error while updating property 'd' in shadow node of type: RNSVGPath
Error while updating property 'd' in shadow node of type: RNSVGPath
Relevant code:
import SvgIcon from 'react-native-svg-uri'; <SvgIcon width={24} height={24} svgXmlData={'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3zm12-6h-8v7H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4z"/>\n</svg>'} style={{opacity: 0.54}} />
Nevermind, I had to deal with a breaking change in react-native-svg and recompile my app.
I'm getting this error while trying to use this in RN 0.40.
Error while updating property 'd' in shadow node of type: RNSVGPath
Relevant code: