import * as React from "react"; import { cn } from "@/lib/utils"; // ─── Types ──────────────────────────────────────────────────────────────────── export type LoanOptionCardProps = { /** Card label displayed at the top */ title: string; /** Icon rendered below the title — pass any ReactNode (SVG, img, lucide icon) */ icon: React.ReactNode; /** Whether this card is currently selected */ selected?: boolean; /** Click / select handler */ onClick?: () => void; /** Disable interaction */ disabled?: boolean; className?: string; }; // ─── Component ──────────────────────────────────────────────────────────────── /** * Selectable option card used in loan application entry screens. * * Figma: WealthX-Backoffice---Mobile-App * Entry screen → node 19308:56690 * App-type screen → node 19308:56893 */ export function LoanOptionCard({ title, icon, selected = false, onClick, disabled = false, className, }: LoanOptionCardProps) { return ( ); }