import { motion, useReducedMotion } from "motion/react"; import { aceternityMotion } from "@/lib/aceternity-motion"; import { cn } from "@/lib/utils"; type FullScreenLoaderProps = { label?: string; detail?: string; className?: string; }; export function FullScreenLoader({ label = "正在恢复创作空间", detail = "同步账号、模型和项目数据", className }: FullScreenLoaderProps) { const reducedMotion = useReducedMotion(); return (
{[0, 1, 2].map((index) => ( ))}

{label}

{detail}

); }