Why doesn't my svg in react-native show any shadow?
The Problem: I have a react native project which uses react-native-svg for importing my logos. I created my custom Bottom Tab Bar with react-navigation and it looks like this: So the problem is just I exported my svg when it looks like this in my adobe xd file (just the purple button): So you can see, there is clearly a shadow but not in my project. What am I doing wrong? I use the component like this: import Logo from "../assets/icons/add_icon.svg" And then render it with <Logo /> Here is the svg (btw when I open it with browser it shows the shadow): https://pastebin.com/w9YZysgS Why is there
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.