AppmakerDeveloper

useForgotPassword

This hook allows you to send a reset password email to a customer.

propsTypeDescriptionExample
controlObjectThis is the react-hook-form control object
handleSubmitFunctionhandle submit
formStateObjectThis is the react-hook-form formState object
submitFunctionsubmit forgot password
isLoadingBooleanloading statefalse
isSuccessBooleansuccess statefalse

Usage


import { useForgotPassword } from '@appmaker-xyz/shopify';

const {
  control,
  handleSubmit,
  formState,
  submit,
  isLoading,
  isSuccess,
} = useForgotPassword();

On this page