@gomeniucivan/ui 1.0.73 → 1.0.74

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.mts CHANGED
@@ -4279,6 +4279,8 @@ type TableColumn<TData> = {
4279
4279
  value: unknown;
4280
4280
  rowIndex: number;
4281
4281
  }) => react.ReactNode;
4282
+ /** When set, the cell becomes clickable with a hover effect. Receives the row data. */
4283
+ onClick?: (row: TData) => void;
4282
4284
  };
4283
4285
  type TableReadConfig<TData> = {
4284
4286
  method?: "get" | "post";
package/dist/index.d.ts CHANGED
@@ -4279,6 +4279,8 @@ type TableColumn<TData> = {
4279
4279
  value: unknown;
4280
4280
  rowIndex: number;
4281
4281
  }) => react.ReactNode;
4282
+ /** When set, the cell becomes clickable with a hover effect. Receives the row data. */
4283
+ onClick?: (row: TData) => void;
4282
4284
  };
4283
4285
  type TableReadConfig<TData> = {
4284
4286
  method?: "get" | "post";