update
This commit is contained in:
@@ -12,6 +12,7 @@ export default ({
|
||||
onBackPressed = null,
|
||||
containerStyle = {},
|
||||
headerTitleStyle = {},
|
||||
hideBackButton = false,
|
||||
}) => {
|
||||
return (
|
||||
<View
|
||||
@@ -26,17 +27,19 @@ export default ({
|
||||
]}
|
||||
>
|
||||
<View style={{ flex: 1 }}>
|
||||
<Pressable onPress={() => onBackPressed?.() || goBack()}>
|
||||
<Image
|
||||
source={icons.chevronDown}
|
||||
style={[
|
||||
Style.iconSmall,
|
||||
Style.mirrorHorizontal,
|
||||
{ transform: [{ rotate: "90deg" }] },
|
||||
]}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
</Pressable>
|
||||
{!hideBackButton && (
|
||||
<Pressable onPress={() => onBackPressed?.() || goBack()}>
|
||||
<Image
|
||||
source={icons.chevronDown}
|
||||
style={[
|
||||
Style.iconSmall,
|
||||
Style.mirrorHorizontal,
|
||||
{ transform: [{ rotate: "90deg" }] },
|
||||
]}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
</Pressable>
|
||||
)}
|
||||
</View>
|
||||
|
||||
<Motion.Text
|
||||
|
||||
Reference in New Issue
Block a user