import Image from 'next/image'
import {
UserInfo,
Avatar,
ProfileSection,
ReadOnlyText,
EditButton,
Title,
Label,
Input
} from '../styled'
import { SkeletonProfile } from '../Skeleton'
export const ProfileInfo = ({
dataForm = {},
editingAddress = false,
asEdited = false,
editingDataProfile = false,
editingProfile = false,
loadingSubmit = false,
loading = true,
handleProfileEditClick = () => { return null },
handleAddressEditClick = () => { return null },
handleProfileDataEditClick = () => { return null },
onChange = () => { return null }
}) => {
const label = editingDataProfile ? 'Guardar' : 'Editar'
const labelProfile = (editingProfile ? 'Guardar' : 'Editar')
if (loading) return