import React from "react"; import { cn } from "@/lib/utils"; import { AccountListCarousel, type AccountCarouselItem, } from "./account-list-carousel"; import { PropertyListCarousel, type PropertyCarouselItem, } from "./property-list-carousel"; export interface LoanFinancialsProps { /** Name shown in the section heading (e.g. applicant's first name) */ ownerName: string; bankAccounts: AccountCarouselItem[]; creditAccounts: AccountCarouselItem[]; propertyLoans: AccountCarouselItem[]; properties: PropertyCarouselItem[]; onAddAccount?: () => void; onAddProperty?: () => void; className?: string; } function SectionTitle({ children }: { children: React.ReactNode }) { return
{children}
; } export function LoanFinancials({ ownerName, bankAccounts, creditAccounts, propertyLoans, properties, onAddAccount, onAddProperty, className, }: LoanFinancialsProps) { return ({ownerName}'s Information