Grouped components into folders

This commit is contained in:
2022-10-16 16:26:24 +02:00
parent ea603804a2
commit 38f3caa524
20 changed files with 177 additions and 242 deletions

View File

@@ -0,0 +1,7 @@
import { FC } from 'react';
const ChatBadge: FC = () => {
return <span className="w-5 h-5 rounded-sm bg-pink-300 inline-block align-middle" />;
};
export default ChatBadge;

View File

@@ -0,0 +1,25 @@
import { FC } from "react"
import ChatBadge from "./ChatBadge"
const ChatMessage: FC = () => {
return (
<p className="mx-2 p-2 hover:bg-neutral-700 text-sm rounded-md">
<div className="space-x-1 inline">
<ChatBadge />
<ChatBadge />
<span className="align-middle">Username</span>
</div>
<span className="align-middle">: </span>
<span className="break-all align-middle">
<img
src="https://cdn.7tv.app/emote/60afbe0599923bbe7fe9bae1/2x"
alt="Poggies"
className="inline w-7 h-7"
/>
</span>
</p>
)
}
export default ChatMessage