|
@@ -11,7 +11,7 @@ const NewscoutTitleHeader = ({ title, titleStyle, children, backButtonShown, onB
|
|
|
<View style={styles.titleContainer}>
|
|
|
{backButtonShown === true && backButtonShown !== undefined ? <TouchableOpacity onPress={onBackClick}>
|
|
|
<FeatherIcon name={'chevron-left'} size={24} color={colors.black} />
|
|
|
- </TouchableOpacity> : <View></View>}
|
|
|
+ </TouchableOpacity> : <></>}
|
|
|
|
|
|
<Text style={[styles.title, titleStyle]}>{title ?? "Title"}</Text>
|
|
|
</View>
|
|
@@ -30,6 +30,8 @@ const styles = StyleSheet.create({
|
|
|
},
|
|
|
titleContainer:{
|
|
|
flexDirection:'row',
|
|
|
+ alignItems:'center',
|
|
|
+ gap: 8
|
|
|
|
|
|
}
|
|
|
})
|