Skip to main content

Profile

Profile is a component that displays display userinfo.

Basic Usage​

By default, Profile gets userinfo through useChatcontext and displays it. You can also display it by passing the userInfo as props.

API​

Profile​

PropertyDescriptionTypeDefaultrequired
AvatarNodeset the custom avatar part when appType is 'pc'ReactNode-false
isTabsets the display of the back buttonBoolean-false
hasLogoutset the display of exit buttonBoolean-false
userInfoset userinfoCommonUserInfoType-false