import React from 'react'; import classNames from 'classnames'; interface LoadingSpinnerProps { size?: 'sm' | 'md' | 'lg'; color?: 'blue' | 'white' | 'gray'; text?: string; } const LoadingSpinner: React.FC = ({ size = 'md', color = 'blue', text }) => { const sizeClasses = { sm: 'h-4 w-4', md: 'h-6 w-6', lg: 'h-8 w-8' }; const colorClasses = { blue: 'border-blue-600', white: 'border-white', gray: 'border-gray-600' }; return (
{text && {text}}
); }; export default LoadingSpinner;