import React from 'react'; import { View } from 'react-native'; import { useRouter } from 'expo-router'; import { tw, theme, MyTouchableOpacity } from 'common-ui'; import MaterialIcons from '@expo/vector-icons/MaterialIcons'; const CustomHeader = () => { const router = useRouter(); return ( router.back()} style={{ width: 40, height: 40, borderRadius: 20, backgroundColor: theme.colors.gray2, justifyContent: 'center', alignItems: 'center', }} > router.push('/(drawer)/(tabs)/home/cart')} style={{ width: 40, height: 40, borderRadius: 20, backgroundColor: theme.colors.gray2, justifyContent: 'center', alignItems: 'center', marginRight: 8, }} > router.push('/(drawer)/(tabs)/me')} style={{ width: 40, height: 40, borderRadius: 20, backgroundColor: theme.colors.gray2, justifyContent: 'center', alignItems: 'center', }} > ); }; export default CustomHeader;