akhaliq HF Staff commited on
Commit
c964e89
·
verified ·
1 Parent(s): 9f46f4b

Upload components/TypingIndicator.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/TypingIndicator.jsx +11 -0
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
+ }