import { LoaderCircleIcon } from "lucide-react"; import { Button } from "@/components/ui/button"; import { useTranslate } from "@/utils/i18n"; interface AttachmentLibraryErrorStateProps { error?: Error; onRetry: () => void; } interface AttachmentLibrarySkeletonGridProps { count?: number; } interface AttachmentLibraryUnusedPanelProps { count: number; isDeleting: boolean; isExpanded: boolean; onDelete: () => void; onToggle: () => void; } export const AttachmentLibrarySkeletonGrid = ({ count = 8 }: AttachmentLibrarySkeletonGridProps) => { return (
{error?.message ?? t("attachment-library.errors.load")}
{t("attachment-library.unused.description")}