judge4c/src/components/loading.tsx

18 lines
361 B
TypeScript
Raw Normal View History

import { cn } from "@/lib/utils";
2025-03-11 14:40:21 +00:00
import { Skeleton } from "@/components/ui/skeleton";
interface LoadingProps {
className?: string;
}
export function Loading({
className,
...props
}: LoadingProps) {
2025-03-11 14:40:21 +00:00
return (
<div className={cn("h-full w-full p-2", className)} {...props}>
2025-03-11 14:40:21 +00:00
<Skeleton className="h-full w-full rounded-3xl" />
</div>
);
}