Open aqnaruto opened 6 years ago
This library is just a wrapper around react-native-svg that simplifies the svg download and parsing. I think that the Font element (like the one used in your example) is not supported by the underlying library.
@fniwes but those icon is not just font,it could be download as svg file.
I don't have experience with the icons you are talking about @aqnaruto, but if you look inside your example svg (with a text editor), you could see that it is mostly a Font
element. And I don't see that kind of element supported by react-native-svg
, so this plugins simple ignore that element and all the inner elements. (in your example, it is almost the whole file)
I have a new way to use alibaba-iconfont with multiple colors. react-native-iconfont-cli
http://at.alicdn.com/t/font_686579_q3hhymya7eh1if6r.svg
when using this uri ,it is not working