Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

react native svg fill not working

GutoTrosla answered on January 4, 2023 Popularity 6/10 Helpfulness 5/10

Contents


More Related Answers

  • Unable to resolve "react-native-svg"
  • react native import svg image
  • react native svg onpress
  • svg in react native
  • react native svg size
  • react native app crash when react native svg use in progaurd
  • latex header shorter title

  • react native svg fill not working

    1

    To control the colour, edit the svg file and change the fill or stroke attributes to "currentColor"

    You can then set the color style on your svg element and it'll use that colour: 

    Popularity 6/10 Helpfulness 5/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 04 2023
    GutoTrosla
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.