currentPasswordErrorText | string | | Setting this will create an error just below the current password field with this text content |
errorText | string | | Setting this will create an error alert just above the buttons with this text content |
loading | boolean | false | Sets the loading state of the form |
onCancel | function | null | Makes cancel button visible and triggers the action when clicked |
onSubmit | function | null | When the form saves and is validated, this function will be called with an object { password: string, newPassword: string } |
showHeader | boolean | false | Toggles visibility the "Create new password" header |
showCurrentPasswordField | boolean | false | Toggles visibility of the current password field |