()
| 122 | |
| 123 | // Add row |
| 124 | const addRow = (): void => { |
| 125 | const newRow = headers.map(() => '') |
| 126 | const newRows = [...rows, newRow] |
| 127 | setRows(newRows) |
| 128 | syncToParent(headers, newRows) |
| 129 | } |
| 130 | |
| 131 | // Delete row |
| 132 | const deleteRow = (rowIndex: number): void => { |
nothing calls this directly
no outgoing calls
no test coverage detected