import Icon from '@components/Icon' import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React, { useMemo } from 'react' import { Pressable, StyleSheet, Text } from 'react-native' export interface Props { type?: 'icon' | 'text' content?: string native?: boolean onPress: () => void } const HeaderLeft: React.FC = ({ type = 'icon', content, native = true, onPress }) => { const { theme } = useTheme() const children = useMemo(() => { switch (type) { case 'icon': return ( ) case 'text': return ( ) } }, [theme]) return ( ) } const styles = StyleSheet.create({ base: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', borderRadius: 100 }, text: { ...StyleConstants.FontStyle.M } }) export default HeaderLeft