import React from 'react'; import { motion } from 'framer-motion'; interface DotLoadingProps { isActive: boolean; color?: string; size?: 'small' | 'medium' | 'large'; } export const DotLoading: React.FC = ({ isActive, color = '#ffffff', size = 'small' }) => { if (!isActive) return null; const dotSize = { small: 'w-1 h-1', medium: 'w-1.5 h-1.5', large: 'w-2 h-2' }[size]; return (
{[0, 1, 2].map((i) => ( ))}
); };