Created
April 27, 2023 20:03
-
-
Save sendbird-community/dfd4799708af5902653ce286f63e8ec2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function UserStatus({ | |
setShowUserStatus, | |
selectedUser, | |
userStatus, | |
}) { | |
return ( | |
<div className="bg-modal" style={{ display: "flex" }}> | |
<div className="modal-content users-list"> | |
<div | |
className="users_list_close_btn" | |
onClick={() => setShowUserStatus(false)} | |
> | |
+ | |
</div> | |
<h3 id="user_status_title">Users online status</h3> | |
<h5 id="user_status"> | |
{selectedUser.nickname} is {userStatus} | |
</h5> | |
</div> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment