Loading packages/shop-mobile-expo/src/components/Common/CustomScreenHeader.tsx +9 −4 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ const CustomScreenHeader: React.FC<CustomScreenHeaderType> = ({ children, showControls = false, controlOnPressSearch, controlOnPressStore = () => {}, controlOnPressStore, showHomeBtn = false, onPressHomeBtn, showBackBtn = false, Loading Loading @@ -185,21 +185,26 @@ const CustomScreenHeader: React.FC<CustomScreenHeaderType> = ({ controlOnPressSearch ? controlOnPressSearch() : navigation.navigate( 'DRAWER/MERCHANTS_SEARCH' as never, 'DRAWER/SEARCH' as never, ) } /> <View style={STYLES.storeBtnContainer}> <TouchableRipple rippleColor={CC.light + '6f'} onPress={() => controlOnPressStore() controlOnPressStore ? controlOnPressStore() : navigation.navigate( 'DRAWER/MERCHANTS_SEARCH' as never, ) }> <MaterialIcons name='storefront' color={CC.success} size={CS.FONT_SIZE_SM * 1.6} style={{ ...GS.m1 }} style={GS.m2} /> </TouchableRipple> </View> Loading Loading
packages/shop-mobile-expo/src/components/Common/CustomScreenHeader.tsx +9 −4 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ const CustomScreenHeader: React.FC<CustomScreenHeaderType> = ({ children, showControls = false, controlOnPressSearch, controlOnPressStore = () => {}, controlOnPressStore, showHomeBtn = false, onPressHomeBtn, showBackBtn = false, Loading Loading @@ -185,21 +185,26 @@ const CustomScreenHeader: React.FC<CustomScreenHeaderType> = ({ controlOnPressSearch ? controlOnPressSearch() : navigation.navigate( 'DRAWER/MERCHANTS_SEARCH' as never, 'DRAWER/SEARCH' as never, ) } /> <View style={STYLES.storeBtnContainer}> <TouchableRipple rippleColor={CC.light + '6f'} onPress={() => controlOnPressStore() controlOnPressStore ? controlOnPressStore() : navigation.navigate( 'DRAWER/MERCHANTS_SEARCH' as never, ) }> <MaterialIcons name='storefront' color={CC.success} size={CS.FONT_SIZE_SM * 1.6} style={{ ...GS.m1 }} style={GS.m2} /> </TouchableRipple> </View> Loading