import Icon, { IconName } from '@components/Icon' import CustomText from '@components/Text' import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' import { Pressable } from 'react-native' export type Props = { native?: boolean background?: boolean onPress: () => void } & ({ type?: undefined; content?: IconName } | { type: 'text'; content: string }) const HeaderLeft: React.FC = ({ type, content, native = true, background = false, onPress }) => { const { colors } = useTheme() const children = () => { switch (type) { case 'text': return ( ) default: return ( ) } } return ( ) } export default HeaderLeft