vault-development / react-native-svg-uri

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

Icon Showing in black color instead of applied filled color - Font Awesome #121

Open satishkumarganga opened 6 years ago

satishkumarganga commented 6 years ago

Showing in black color instead of fill color. Implemented this in ANDROID. <SvgUri fill="#ffffff" width="20" height="20" source={require('../../resources/fontAwesomeLight/align-justify.svg')} /> fillerror menuerror

Rybak5611 commented 6 years ago

Same issue with Material Design icons. Looks like it happens when svg's paths don't have fill="" tag. If you manually add fill="#000000" to all <path ... />, filling from js side will work