some bug fixed
This commit is contained in:
@@ -37,7 +37,7 @@ const Header: React.FC<HeaderProps> = ({
|
||||
<TouchableOpacity onPress={handleBack} style={{padding:6}}>
|
||||
<Ionicons name="arrow-back" size={24} color={arrowColor} />
|
||||
</TouchableOpacity>
|
||||
)}
|
||||
)}
|
||||
<Text style={[styles.headerTitle, {color:titleColor}]}>{title}</Text>
|
||||
<View>{rightAction}</View>
|
||||
</View>
|
||||
@@ -49,14 +49,15 @@ export default Header;
|
||||
const styles = StyleSheet.create({
|
||||
header: {
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
justifyContent: "space-between",
|
||||
// alignItems: "center",
|
||||
// justifyContent: "space-between",
|
||||
paddingVertical: 12,
|
||||
paddingHorizontal:12
|
||||
},
|
||||
headerTitle: {
|
||||
fontSize: 18,
|
||||
fontSize: 22,
|
||||
fontWeight: "600",
|
||||
textTransform: "capitalize",
|
||||
// textTransform: "capitalize",
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user