Use Record type in rows in TableProps

This commit is contained in:
Hongbo Wu
2022-06-02 18:41:26 +08:00
parent 56f28bcd14
commit 35b4e07d16

View File

@ -11,7 +11,7 @@ interface TableProps {
infoLink?: string
onAdd?: () => void
headers: string[]
rows: Map<string, string[]>
rows: Map<string, Record<string, any>>
onDelete?: (id: string) => void
onUpdate?: (id: string) => void
}