import React from 'react'; /** * Renders a `react-final-form` field array as a list of cards, one per item, * each laid out from a shared `fieldConfig`. * * Each `fieldConfig` entry is: * - `fieldName` — appended to the row path, e.g. `labor[0].conditionId` * - `fieldLabel` — the field's label * - `fieldType` — a `FieldType`; omitted renders a text input * - `componentProps` — props spread onto the field. Either a plain object * (identical for every card) or a function `(rowValue, index) => props` * evaluated per card, where `rowValue` is that card's current form value. * Use the function form for props that depend on the row, e.g. disabling a * field on already-saved rows: `componentProps: (row) => ({ disabled: !!row?.id })` * * An entry may also be an array of entries, which renders those fields * side-by-side on one `Grid` row. */ export declare const FieldArrayCard: (props: any) => React.JSX.Element; //# sourceMappingURL=FieldArrayCard.d.ts.map