Spaces:
Configuration error
Configuration error
File size: 482 Bytes
78013c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | "use client";
import React from "react";
import { Loader2 } from "lucide-react";
interface GlassLoaderProps {
text?: string;
}
export default function GlassLoader({ text = "Loading..." }: GlassLoaderProps): React.ReactElement {
return (
<div className="flex flex-col items-center justify-center py-24 gap-4 animate-fade-in-up">
<Loader2 size={32} className="text-slate-300 animate-spin" />
<p className="text-sm text-slate-400">{text}</p>
</div>
);
}
|