import { Loader2 } from "lucide-react"; import type { ReactNode } from "react"; type AddToShelfButtonProps = { onClick: () => void; isPending?: boolean; label: string; icon: ReactNode; colors: { primary?: string; secondary?: string; }; size?: "compact" | "regular"; className?: string; disabled?: boolean; }; export function AddToShelfButton({ onClick, isPending = false, label, icon, colors, size = "regular", className = "", disabled = false, }: AddToShelfButtonProps) { const sizeClasses = size === "compact" ? "py-3 px-6" : "py-4 px-6 hover:scale-[1.02]"; return ( ); }