import { Camera, Edit, Logout } from '../../../assets/icons' import { Button, Card, Typography } from '../../ui' import s from './personal-information.module.scss' type Props = { avatar: string email: string name: string onAvatarChange: (newAvatar: string) => void onLogout: () => void onNameChange: (newName: string) => void } export const PersonalInformation = ({ avatar, email, name, onAvatarChange, onLogout, onNameChange, }: Props) => { const handleAvatarChanged = () => { onAvatarChange('new Avatar') } const handleNameChanged = () => { onNameChange('New name') } const handleLogout = () => { onLogout() } return ( Personal Information
{'avatar'}
{name}
{/* eslint-disable-next-line react/no-unescaped-entities */} {email}
) }