Version: 3.5.2
ProfilePicChangeModal
The profile picture change modal is used to change or remove the user's current profile picture.
Loading...
Usage#
Reference#
Props#
onDisplay#
() โ void
Callback function called when the modal is first displayed.
onClose#
() โ void
Callback function called when the modal is closed.
onChangeSuccess#
() โ void
Callback function called when the picture is changed succesfully.
onRemoveSuccess#
() โ void
Callback function called when the picture is removed succesfully.
onChangeFailure#
(errorObject) โ void
Callback function called when changing the picture fails.
onRemoveFailure#
(errorObject) โ void
Callback function called when removing the picture fails.