Component for iOS-like headers in React Native. Compatible also with Android.
$ yarn add tomhirsch/react-native-view-with-title
import ViewWithTitle from 'react-native-view-with-title'
...
render() {
<ViewWithTitle
title="Screen title"
renderLeft={() => (
<YourComponentForBackButton
onPress={() => this.props.navigation.goBack()}
/>
)}
>
...
</ViewWithTitle>
}