()
| 4 | import { motion } from 'framer-motion' |
| 5 | |
| 6 | const WaveLoader = () => { |
| 7 | return ( |
| 8 | <div className="flex items-center justify-center space-x-1"> |
| 9 | {[...Array(5)].map((_, index) => ( |
| 10 | <motion.div |
| 11 | key={index} |
| 12 | className="h-8 w-2 rounded bg-red-500" |
| 13 | animate={{ |
| 14 | scaleY: [1, 1.5, 1], |
| 15 | translateY: ['0%', '-25%', '0%'], |
| 16 | }} |
| 17 | transition={{ |
| 18 | duration: 1, |
| 19 | repeat: Infinity, |
| 20 | ease: 'easeInOut', |
| 21 | delay: index * 0.1, |
| 22 | }} |
| 23 | /> |
| 24 | ))} |
| 25 | </div> |
| 26 | ) |
| 27 | } |
| 28 | |
| 29 | export default WaveLoader |
nothing calls this directly
no outgoing calls
no test coverage detected