mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use Record type in rows in TableProps
This commit is contained in:
parent
56f28bcd14
commit
35b4e07d16
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue