import React from "react"; import { Pencil } from "lucide-react"; import { cn } from "@/lib/utils"; /** * A compact row showing a label and pre-formatted value with an optional * pencil edit trigger. Used inside accordion income/expense groups in the * Borrowing Capacity Calculator panel (e.g. "Avg Income Per Month"). */ export interface CalculatorInputItemProps { /** Row label (e.g. "Avg Income Per Month") */ label: string; /** Pre-formatted value string (e.g. "$8,500") */ value: string; /** Called when the pencil button is clicked */ onEdit?: () => void; className?: string; } export function CalculatorInputItem({ label, value, onEdit, className, }: CalculatorInputItemProps) { return (