@hybr1d-tech/charizard 0.3.53 → 0.3.55

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.
@@ -51,7 +51,7 @@ export interface TableProps {
51
51
  /**
52
52
  * Row checkbox or radio selection config
53
53
  *
54
- * @param getRowId: needed to keep the selected rows when search is being used server side https://tanstack.com/table/v8/docs/guide/row-selection#useful-row-ids
54
+ * @param rowIdKey: needed to keep the selected rows when search is being used server side https://tanstack.com/table/v8/docs/guide/row-selection#useful-row-ids
55
55
  */
56
56
  rowSelectionConfig?: {
57
57
  isCheckbox?: boolean;
@@ -64,7 +64,9 @@ export interface TableProps {
64
64
  setSelectedRows?: React.Dispatch<React.SetStateAction<any>>;
65
65
  iconSrc?: string;
66
66
  clearOnSearch?: boolean;
67
- getRowId?: (row: any) => string;
67
+ rowIdKey?: string;
68
+ rowSelection?: {};
69
+ setRowSelection?: React.Dispatch<React.SetStateAction<{}>>;
68
70
  };
69
71
  selectorConfig?: {
70
72
  selectors: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "0.3.53",
3
+ "version": "0.3.55",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"