import styled, { keyframes } from "styled-components"; const blink = keyframes` 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } `; interface DotProps { $delay: number; } const Dot = styled.span` animation: ${blink} 1s infinite; animation-delay: ${({ $delay }) => $delay}s; margin: 0; `; const Wrapper = styled.div` display: flex; gap: 4px; `; export const AnimDot = () => ( . . . );