mirror of
https://github.com/ichsankurnia/hats-app.git
synced 2026-12-05 10:56:28 +00:00
10 lines
445 B
TypeScript
10 lines
445 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import { Loader2 } from "lucide-react";
|
|
|
|
export default function FallbackAvatar({ className }: { className?: string }) {
|
|
return (
|
|
<div className={cn("h-9 w-9 sm:h-10 sm:w-10 rounded-full bg-zinc-200 dark:bg-zinc-700 animate-pulse flex items-center justify-center", className)} >
|
|
<Loader2 className="m-auto h-4 w-4 text-zinc-600 dark:text-zinc-400 animate-spin" />
|
|
</div>
|
|
);
|
|
} |