Avatar Upload
Upload an avatar by clicking on them.
#
Default avatarSet default avatar with defaultAvatar
prop.

#
AvatarWhen you upload an avatar, it shows the avatar instead of default avatar.

#
APIName | Type | Default | Description |
---|---|---|---|
defaultAvatar | string | button | Set default avatar |
avatar | string | Set an avatar | |
onAvatarUpload | function | Define function that changes the avatar when the image uploaded |