Open etaiklein opened 4 years ago
Don't think so brogramer
I have forked it to https://github.com/lcsvcn/react-native-svg-uri
@lcsvcn the nice folks over at react-native-svg decided to take these features into that library https://github.com/react-native-community/react-native-svg/issues/1074
@etaiklein nice information!
Does this mean, that it is possible to switch to https://github.com/react-native-community/react-native-svg for the following case.
Currently we are using <SvgUri width={width} height={height} svgXmlData={icon} />
.
Is SvgUri
now available from react-native-svg
?
@etaiklein nice information! Does this mean, that it is possible to switch to https://github.com/react-native-community/react-native-svg for the following case. Currently we are using
<SvgUri width={width} height={height} svgXmlData={icon} />
. IsSvgUri
now available fromreact-native-svg
?
Not with that exact syntax. Follow https://github.com/react-native-community/react-native-svg/issues/1074 and ask any questions about react-native-svg in that repo’s issues instead of here.
https://github.com/react-native-community/react-native-svg can be used. They have implemented various components, i.e. SvgUri
https://github.com/react-native-community/react-native-svg#use-with-content-loaded-from-uri or SvgXml
https://github.com/react-native-community/react-native-svg#use-with-xml-strings
The react native dev team officially backs react-native-svg since February 2019. And the react-native-svg documentation points here.
However, this library currently has ~30 open pull requests and some pretty major issues like TEXT not working in svgs . The last commit to this library was from 2018. For my use case, I want to render svg data (that includes text) fetched from and composed by the server.
So, is this library still active? Is there a better maintained fork? What else are people using?