| 1 | import { AnimatedEllipsis } from "../../../AnimatedEllipsis"; |
| 2 | |
| 3 | export function GeneratingIndicator({ |
| 4 | text = "Generating", |
| 5 | testId, |
| 6 | }: { |
| 7 | text?: string; |
| 8 | testId?: string; |
| 9 | }) { |
| 10 | return ( |
| 11 | <div className="text-description flex items-center" data-testid={testId}> |
| 12 | <span className="text-xs">{text}</span> |
| 13 | <AnimatedEllipsis /> |
| 14 | </div> |
| 15 | ); |
| 16 | } |