Files
MultiRoombaRover/webui/src/components/ChatTypingRow/index.jsx
T
2026-04-28 19:39:13 -04:00

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>
);
}