import * as React from "react" import { cn } from "../../utils/cn" import type { ChatTypingIndicatorProps } from "./types" const ChatTypingIndicator = React.forwardRef( ({ className, size = 'md', showText = false, dotClassName, ...props }, ref) => { const dotSizeClasses = { sm: 'w-1 h-1', md: 'w-1.5 h-1.5', lg: 'w-2 h-2' } const containerSizeClasses = { sm: 'h-4', md: 'h-6', lg: 'h-8' } const dotAnimation = ` @keyframes dotPulse { 0%, 80%, 100% { transform: scale(1); opacity: 0.7; } 40% { transform: scale(1.5); opacity: 1; } } ` return (