Reputation: 477
Can I change the shadow direction of elevation style property (android only) on React Native?
Typically the shadow is show on bottom of element, but I wanna show it on top side.
Thanks
Upvotes: 6
Views: 4034
Reputation: 1312
If you're talking about Android (which I'm going to assume since elevation
doesn't exist on iOS), no you can't.
The virtual 'creating' the shadows are coming from fixed light spots for now (See https://material.io/guidelines/material-design/environment.html#environment-light-shadow).
Upvotes: 5