import { useFormHandler, TextInput } from "../../form" import { UserProps } from "../props" import { userValidation } from "../validation" const initialData = { name: '', email: '', password: '', passwordAgain: '' } const UserEditForm = ({ user }: UserProps) => { const [updateUser, userEdit] = useMutation(USER_EDIT) const { inputProps, values } = useFormHandler({ ...initialData, ...user }) return (
) } export default UserEditForm