I'm using native-base to create a React Native app:
I'm using the Header Component to display Body, Left and Right elements. According to the docs, the shadow doesn't appear.
ScreenShot of the result :
Am I missing something simple here? Any help would be appreciated!
<Header style={{backgroundColor: 'white', shadowColor: 'black', shadowOpacity: 1, elevation: 4}} iosBarStyle="dark-content" androidStatusBarColor="lightgray">
<Left>
<Button transparent onPress={() => this.props.navigation.goBack(null)}>
<Icon name='arrow-back' />
</Button>
</Left>
<Body style={{ flex: 3 }}>
<Title>TITLE </Title>
<Subtitle>SUBTITLE</Subtitle>
</Body>
<Right></Right>
</Header>
