Spaces:
Build error
Build error
Upload components/TypingIndicator.jsx with huggingface_hub
Browse files
components/TypingIndicator.jsx
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function TypingIndicator() {
|
| 2 |
+
return (
|
| 3 |
+
<div className="flex justify-start mb-4">
|
| 4 |
+
<div className="assistant-bubble flex items-center space-x-1 p-3">
|
| 5 |
+
<div className="w-2 h-2 bg-gray-500 rounded-full animate-pulse-dots"></div>
|
| 6 |
+
<div className="w-2 h-2 bg-gray-500 rounded-full animate-pulse-dots" style={{ animationDelay: '0.2s' }}></div>
|
| 7 |
+
<div className="w-2 h-2 bg-gray-500 rounded-full animate-pulse-dots" style={{ animationDelay: '0.4s' }}></div>
|
| 8 |
+
</div>
|
| 9 |
+
</div>
|
| 10 |
+
)
|
| 11 |
+
}
|