import React from 'react'; import { motion } from 'framer-motion'; const ProfileHeader = ({ isEditing, showFullProfile, setShowFullProfile, handleEditClick }) => { return (

Your Profile

{!isEditing && ( setShowFullProfile(prev => !prev)} whileHover={{ scale: 1.03 }} whileTap={{ scale: 0.98 }} style={{ backgroundColor: 'rgba(251,191,36,0.15)', color: '#FCD34D', padding: '0.5rem 1rem', borderRadius: '0.5rem', border: '1px solid rgba(251,191,36,0.3)', cursor: 'pointer' }} > {showFullProfile ? 'Hide full profile' : 'See full profile'} )} {!isEditing && ( Edit Profile )}
); }; export default ProfileHeader;