How i can remove react-native button shadow?

Viewed 11432

I am trying to figure out React Native. When I created button I see unexpected bottom shadow. How can i prevented? (Gray color)

enter image description here

Code:

<Button 
    title="LOGIN"
    color='#f2a743'
/>
5 Answers

I successfully removed the shadow with elevation: 0 in the button's style.

The following code will remove button shadow

style = {{ elevation: 0 }}

you can't use style="box-shadow: 0px 0px 0p;" at all there is multi way to approach this i personal use elevation: 0

if you use router-flux for navigation pls consider that icons appear with shadow just on android but no shadow exist for ios version by default

Related