@inceptionbg/iui 2.0.36 → 2.0.38

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
@@ -317,14 +317,15 @@ interface ITableDataItemCells {
317
317
  printValue?: string;
318
318
  };
319
319
  }
320
+ type ITableDataAction = {
321
+ label: string;
322
+ onClick: () => void;
323
+ hasAccess: boolean;
324
+ disabled?: boolean;
325
+ };
320
326
  interface ITableDataActions<T = unknown> {
321
327
  hasEditAccess?: boolean;
322
- actions?: (item?: T) => {
323
- label: string;
324
- onClick: () => void;
325
- hasAccess: boolean;
326
- disabled?: boolean;
327
- }[];
328
+ actions?: (item: T) => ITableDataAction[];
328
329
  }
329
330
  interface ITableFilterData {
330
331
  filters: ITableFilter;