import * as React from "react"; import { View, TouchableOpacity, ScrollView } from "react-native"; import { EditProfileContainer, ImageList, ProfileImgContainer, ProfileImg, ProfileImageSelector, LabelName, ActionsContainer, ImageSelected, ImageSelectedContainer, ShowSection, ShowZoom, } from "./styled"; import Button from "../ui/button"; import Typography from "../ui/typography"; import { circleIn, easeInExpo } from "../animations/easings"; export type ImageProfile = { imageUrl: string; }; export type EditProfileProps = { images: ImageProfile[]; onImageSelect: (imageProfile: ImageProfile) => void; imageSelected: ImageProfile | undefined; currentImage: ImageProfile; name: string; onCancel: () => void; onSubmit: () => void; onChangeImage: () => void; }; function EditProfile({ imageSelected, images, name, onCancel, onImageSelect, onChangeImage, onSubmit, currentImage, }: EditProfileProps) { return ( {imageSelected ? "Profile picture" : "Select a profile picture"} {imageSelected ? (