I have a background image in a view so I'd like the header to be transparent. Setting the backgroundColor to transparent however gets an error:
"RCTView has a shadow set but cannot calculate shadow efficiently."
Is there a better way to make the header transparent?
For anyone trying to figure this out I was able to add style={{ shadowOpacity: 0 }} to get rid of the shadow and error.
set
Header style={{elevation:0}}
its works
thank you @ChetanGodiya4
The noShadow prop of Header removes shadow from iOS Header and elevation from Android Header.
https://docs.nativebase.io/Components.html#header-no-shadow-headref
Most helpful comment
For anyone trying to figure this out I was able to add
style={{ shadowOpacity: 0 }}to get rid of the shadow and error.