vault-development / react-native-svg-uri

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

SVG displaying in black color #98

Open GopiKrishna10 opened 6 years ago

GopiKrishna10 commented 6 years ago

Hi,

Am using the react-native-svg-uri in my app.while displaying my SVG its showing Black color.posted Below my SVG and some svg's are doesn't rendering.could you guys please help me.

Here is my Versions "react-native": "^0.39.0", "react-native-svg": "4.4.1", "react-native-svg-uri": "^1.2.1", "react": "15.3.1",

Code for rendering an SVG

SVG File

<?xml version="1.0" encoding="utf-8"?>ico_share_whiteCreated with Sketch.

GopiKrishna10 commented 6 years ago

@matc4 and Team any updates on this issue Guys.

XHTeng commented 6 years ago

+1

bahaeddine4 commented 6 years ago

+1

papuaaaaaaa commented 6 years ago

Just use inline styling svg instead of the one css like styling so far. If you are using illustrator there is settings to use inline styling when a svg will be exported.

rcacheira commented 6 years ago

@GopiKrishna10 can you post the picture ?

andonivianez commented 6 years ago

I´m also interested on this, did you got working? Do you have some example to test? Thanks!

yashness commented 6 years ago

@andonivianez hand-edit the SVG file to remove