knt-shared 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -6690,11 +6690,11 @@ function useTable(options = {}) {
6690
6690
  await table.deleteRow(record);
6691
6691
  }
6692
6692
  };
6693
- const addRow = async () => {
6693
+ const addRow = async (position = "bottom") => {
6694
6694
  const table = getTable();
6695
6695
  if (!table) return;
6696
6696
  if (table.addRow) {
6697
- await table.addRow();
6697
+ await table.addRow(position);
6698
6698
  }
6699
6699
  };
6700
6700
  const getEditingRows = () => {