MCPcopy Create free account
hub / github.com/experdot/pointer / addRow

Function addRow

src/renderer/src/features/export/plugins/editors/csvEditor.tsx:124–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected