
import { ReactNode } from "react"
// import { Params } from "react-router-dom"

export interface InputRecordEditorProps {
  label: string
  records: any[]
  onAdd: () => void
  customRender?: (record: any, index: number) => ReactNode
  onDelete: (index: number, record: any) => void
  onChangeKey: (index: number, key: string, value: string) => void
  onChangeValue: (index: number, key: string, value: string) => void
}
