import type { ReactNode } from "react"; import Link from "next/link"; import { Loader2 } from "lucide-react"; import { buttonVariants } from "@/components/ui/button"; type TableLoadingRowProps = { colSpan: number; label?: string; }; export function TableLoadingRow({ colSpan, label = "Loading…", }: TableLoadingRowProps) { return (
{description}
{actionHref && actionLabel ? ( {actionLabel} ) : null}