import type { DashboardInvoice } from "@/lib/dashboard/invoices"; import type { InvoiceDialogState } from "@/lib/dashboard/invoices-helpers"; import { InvoicePaymentDialog } from "./invoice-payment-dialog"; import { InvoicesList } from "./invoices-list"; type InvoicesWidgetViewProps = { invoices: DashboardInvoice[]; selectedInvoice: DashboardInvoice | null; isModalOpen: boolean; modalState: InvoiceDialogState; isPending: boolean; onOpenPaymentDialog: (invoiceId: string) => void; onClosePaymentDialog: () => void; onConfirmPayment: () => void; }; export function InvoicesWidgetView({ invoices, selectedInvoice, isModalOpen, modalState, isPending, onOpenPaymentDialog, onClosePaymentDialog, onConfirmPayment, }: InvoicesWidgetViewProps) { return ( <>
); }