()
| 2 | import { motion } from 'framer-motion' |
| 3 | |
| 4 | export default function OrbitingLoader() { |
| 5 | return ( |
| 6 | <div className="flex"> |
| 7 | <motion.div |
| 8 | className="flex" |
| 9 | animate={{ rotate: 360 }} |
| 10 | transition={{ duration: 2, repeat: Infinity, ease: 'linear' }} |
| 11 | > |
| 12 | <motion.div |
| 13 | className="mx-1 h-4 w-4 rounded-full bg-red-500" |
| 14 | animate={{ scale: [0, 1, 0] }} |
| 15 | transition={{ duration: 2, repeat: Infinity, ease: 'easeInOut' }} |
| 16 | ></motion.div> |
| 17 | <motion.div |
| 18 | className="mx-1 h-4 w-4 rounded-full bg-red-500" |
| 19 | animate={{ scale: [0, 1, 0] }} |
| 20 | transition={{ |
| 21 | duration: 2, |
| 22 | repeat: Infinity, |
| 23 | ease: 'easeInOut', |
| 24 | delay: 0.5, |
| 25 | }} |
| 26 | ></motion.div> |
| 27 | <motion.div |
| 28 | className="mx-1 h-4 w-4 rounded-full bg-red-500" |
| 29 | animate={{ scale: [0, 1, 0] }} |
| 30 | transition={{ |
| 31 | duration: 2, |
| 32 | repeat: Infinity, |
| 33 | ease: 'easeInOut', |
| 34 | delay: 1, |
| 35 | }} |
| 36 | ></motion.div> |
| 37 | </motion.div> |
| 38 | </div> |
| 39 | ) |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected