import type { FiscalClaimEvents } from '@/lib/fiscal-claim-events'; export function FiscalClaimEventsFields({ value: r, onChange, }: { value: FiscalClaimEvents; onChange: (p: Partial) => void; }) { return ( <> {r.decision !== 'pending' && ( <> )} {r.receipts.map((p) => (
Recebimento identificado {(['reference', 'date', 'amount'] as const).map((k) => ( ))}
))} ); }