@megha-ui/react 1.2.726 → 1.2.728

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.
@@ -723,7 +723,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
723
723
  }, [hugLoading]);
724
724
  const tableData = useMemo(() => {
725
725
  const records = paginate ? paginatedData : sortedData;
726
- const splitColumns = gridColumns.filter((col) => col.splitRows);
726
+ const splitColumns = gridColumns.filter((col) => col.splitRow);
727
727
  if (splitColumns.length > 0) {
728
728
  let modifiedRecords = records.length > 0 ? [] : records;
729
729
  records.forEach((row) => {
@@ -25,7 +25,7 @@ export interface Column {
25
25
  }>;
26
26
  renderer?: (item: any) => JSX.Element;
27
27
  isArrayString?: boolean;
28
- splitRows?: boolean;
28
+ splitRow?: boolean;
29
29
  }
30
30
  export interface DataRow {
31
31
  [key: string]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.726",
3
+ "version": "1.2.728",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",