import React from 'react';
import { motion } from 'framer-motion';
import { classNames } from '~/utils/classNames';
interface LoadingStateProps {
message?: string;
size?: 'sm' | 'md' | 'lg';
className?: string;
showProgress?: boolean;
progress?: number;
}
export function LoadingState({
message = 'Loading...',
size = 'md',
className,
showProgress = false,
progress = 0,
}: LoadingStateProps) {
const sizeClasses = {
sm: 'w-4 h-4',
md: 'w-6 h-6',
lg: 'w-8 h-8',
};
return (