// template/src/components/Header/index.ts import React from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import { useTheme } from '../../theme/ThemeProvider'; import { createHeaderStyles } from './styles'; import { Icon } from '../Icon'; import { ThemedText } from '@components/ThemedText'; interface HeaderProps { userName?: string; greeting?: string; notificationCount?: number; onLogout: () => void; } const Header: React.FC = ({ userName = 'User', greeting = 'Hi', notificationCount = 0, onLogout }) => { const { theme } = useTheme(); const styles = createHeaderStyles(theme); return ( {greeting} {userName} {/* Logout */} {/* Add your second icon here */} ); }; export default Header;