75a0ba593d
git-subtree-dir: admin git-subtree-mainline:35f5084005git-subtree-split:9f1eccd2f7
11 lines
395 B
TypeScript
11 lines
395 B
TypeScript
import { Loader2 } from "lucide-react";
|
|
|
|
export function FullScreenLoader({ label = "یه لحظه..." }: { label?: string }) {
|
|
return (
|
|
<div className="flex-1 flex flex-col items-center justify-center gap-3 py-20">
|
|
<Loader2 size={28} className="animate-spin text-(--color-brand-500)" />
|
|
<p className="text-[13px] text-(--color-content-tertiary)">{label}</p>
|
|
</div>
|
|
);
|
|
}
|