Version: 3.3.0
PasswordChangeContainer
Handles changing user's password.
#
Usage#
ReferencePasswordChangeContainer
#
#
PropsonSuccess
#
(userObject) โ void
Callback function called when the password is changed succesfully.
onFailure
#
(errorObject) โ void
Callback function called when changing the password fails.
#
Children componentsAlert
#
Displays the relevant errors or success messages.
PasswordChangeCurrentPassword
Required#
Instance of Input
Input field component for the current password.
PasswordChangeNewPassword
Required#
Instance of Input
Input field component for the new password.
PasswordChangeConfirmNewPassword
Required#
Instance of Input
Input field component to confirm the new password.
PasswordChangeButton
Required#
Instance of Button
A button component that submits the form.
#
Propsname
#
string?
The title displayed inside the button