vault-development / react-native-svg-uri

Render SVG images in React Native from an URL or static file
849 stars 334 forks source link

Use tag and some attributes were not supporting. Needed for node-qrcode #81

Open emrahtoy opened 6 years ago

emrahtoy commented 6 years ago
component/tag and fill-opacity,xlink:href, href, id attributes were not supported. node-qrcode library generates proper svg string that we can use with svgXmlData in order to show QrCode. But that library uses and ( with id ) which react-native-svg-uri have not been support. This PR fixes the situation.
arashkhan commented 5 years ago

How can I pass param to "use"?

<Svg use = "attr.xlink:href=filename#id'" />