import React from 'react' import { motion } from 'framer-motion' import { HiMail, HiPhone, HiBriefcase, HiLocationMarker } from 'react-icons/hi' interface UserProfileCardProps { user: { id: string name: string avatar: string title: string email?: string phone?: string department?: string location?: string } position?: 'top' | 'bottom' } const UserProfileCard: React.FC = ({ user, position = 'bottom' }) => { return ( {/* Header */}
{user.name}

{user.name}

{user.title}

{/* Contact Info */}
{user.email && (
{user.email}
)} {user.phone && (
{user.phone}
)} {user.department && (
{user.department}
)} {user.location && (
{user.location}
)}
{/* Arrow indicator */}
) } export default UserProfileCard