[+] Chat box

This commit is contained in:
2023-11-26 01:26:08 -05:00
parent 6d568fbf34
commit 45a946c237
3 changed files with 14 additions and 0 deletions
@@ -0,0 +1 @@

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+13
View File
@@ -0,0 +1,13 @@
import ChatBoxBorder from '../assets/img/chatbox-border.svg';
interface ChatBoxProps {
msg: string;
}
export default function ChatBox({msg}: ChatBoxProps) {
return <div className='round box h-min no-shadow relative min-h-[60px] flex items-center justify-center mx-5'>
<img src={ChatBoxBorder} alt="" className="absolute left-0 translate-x-[-100%] bottom-2" />
{msg}
</div>
}