@sage-bionetworks/react-datasheet-grid 4.11.5-sage.11 → 4.11.5-sage.13

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.d.ts CHANGED
@@ -193,6 +193,13 @@ declare type DataSheetGridProps_2<T> = {
193
193
  selection: SelectionWithId | null;
194
194
  }) => void;
195
195
  onScroll?: default_2.UIEventHandler<HTMLDivElement> | undefined;
196
+ /**
197
+ * Called for Ctrl/Cmd+Z while a cell is active and not being edited. While a cell is being
198
+ * edited, its editor keeps the browser's own text undo, as in a spreadsheet.
199
+ */
200
+ onUndo?: () => void;
201
+ /** Called for Ctrl+Y or Ctrl/Cmd+Shift+Z, under the same conditions as `onUndo` */
202
+ onRedo?: () => void;
196
203
  };
197
204
 
198
205
  export declare type DataSheetGridRef = DataSheetGridRef_2;