Version: 1.0.0
PasswordResetContainer
Handles resetting the user's password after clicking on the password reset link sent to them. the reset link can be requested by the user using the PasswordForgotContainer
.
#
Usage#
ReferencePasswordResetContainer
#
#
PropsonSuccess
#
(userObject) โ void
Callback function called when the password is reset succesfully.
onFailure
#
(errorObject) โ void
Callback function called when the password reset fails.
#
Children componentsAlert
#
Displays the relevant errors or success messages.
PasswordResetEmail
#
Instance of Input
Read-only input field component to show user's e-mail address.
PasswordResetPassword
Required#
Instance of Input
Input field component for the new password.
PasswordResetConfirmPassword
Required#
Instance of Input
Input field component to confirm the new password.
PasswordResetButton
Required#
Instance of Button
A button component that submits the form.
#
Propsname
#
string?
The title displayed inside the button