import React from 'react'; interface ProfileLogoProps { imageUrl?: string; name: string; email: string; size?: number; showLabel?: boolean; onClick?: () => void; } const ProfileLogo: React.FC = ({ imageUrl, name, email, size = 42, showLabel = true, onClick }) => { const getInitials = (name: string) => { const words = name.split(' '); if (words.length === 1) { return words[0].charAt(0).toUpperCase(); } return (words[0].charAt(0) + words[words.length - 1].charAt(0)).toUpperCase(); }; const initials = getInitials(name); return ( ); }; export default ProfileLogo;