mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
14 lines
581 B
React
14 lines
581 B
React
// Chat Typing Row
|
|
// Purpose: Defines the Chat Typing Row module and the local helpers/components used in this file.
|
|
// Scope: Keeps behavior unchanged while isolating this concern into a clear, single-responsibility unit.
|
|
import { ChatIdentity, chatRowClass } from '../ChatMessageRow/index.jsx';
|
|
|
|
export default function ChatTypingRow({ message }) {
|
|
return (
|
|
<div className={`${chatRowClass(message)} italic opacity-80 border-slate-600/40 bg-slate-900/40`}>
|
|
<ChatIdentity message={message} />
|
|
<span className="text-slate-300">typing...</span>
|
|
</div>
|
|
);
|
|
}
|