vault-development / react-native-svg-uri

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

Programmatically update fill. SetNativeProps ? #49

Closed thomaslecoeur closed 7 years ago

thomaslecoeur commented 7 years ago

Hello !

I would like to update the fill the fill of a svg. How can I manage to do that with some kind of direct manipulation ?

Thank you !

matc4 commented 7 years ago

Hello, the fill prop does not work for you?

bmoreira10 commented 7 years ago

@matc4 when i use the svgXmlData, it works but it gives black color only , i have on the svgXmlData '' it shows black and not kinda grey and if i try to use fill='#474A4D' it doesnt work either

matc4 commented 7 years ago

Check in the new release. Thanks!