import { AvatarCustom, ButtonCustom, SelectCustom, Spacing, StackCustom, TextInputCustom, ViewWrapper, } from "@/components"; import InformationBox from "@/components/Box/InformationBox"; import ButtonUpload from "@/components/Button/ButtonUpload"; import LandscapeFrameUploaded from "@/components/Image/LandscapeFrameUploaded"; import { GStyles } from "@/styles/global-styles"; import { useState } from "react"; import { View } from "react-native"; export default function CreateProfile() { const [data, setData] = useState({ name: "", email: "", address: "", gender: "", }); const handlerSave = () => { console.log("data create profile >>", data); // router.back(); }; const footerComponent = ( Simpan ); return ( console.log("pressed")} /> console.log("pressed")} /> setData({ ...data, name: text })} /> setData({ ...data, email: text })} /> setData({ ...data, address: text })} /> setData({ ...(data as any), gender: value })} /> setData({ ...data, address: text })} /> {/* */} ); }