Improved UI of player[computer] name. #25 (#26)

* Improve UI of player[computer] name. #25

* replacing computer icon in place of computer text
This commit is contained in:
Dharmendra Singh Chaudhary
2023-10-22 22:25:18 +05:45
committed by GitHub
parent 20627e0c98
commit 4b5d0d20df
@@ -76,9 +76,11 @@ const ChessGameComputer = () => {
style={{ width: "500px" }}
p="2px"
// label={isWaiting ? "Waiting for opponent..." : opponent}
icon={<Avatar radius="3px" >
Computer
</Avatar>}
// icon={<Avatar radius="3px" style={{ minWidth: "4.374rem" }} >
// Computer
// </Avatar>}
icon = { <img src="https://www.chess.com/bundles/web/images/color-icons/computer.2318c3b4.svg" alt="computer-icon" style={{height:"38px" , width:"38px" ,borderRadius:"3px"}} /> }
description={"description"}
/>
</div>