qbs-react-grid 1.1.51 → 1.1.52

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.
@@ -113,7 +113,7 @@ export interface QbsTableProps {
113
113
  };
114
114
  rowExpandedHeight?: number;
115
115
  renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
116
- renderEmpty: (info: React.ReactNode) => React.ReactNode;
116
+ renderEmpty?: (info: React.ReactNode) => React.ReactNode;
117
117
  emptySubTitle?: string;
118
118
  emptyTitle?: string;
119
119
  }
@@ -113,7 +113,7 @@ export interface QbsTableProps {
113
113
  };
114
114
  rowExpandedHeight?: number;
115
115
  renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
116
- renderEmpty: (info: React.ReactNode) => React.ReactNode;
116
+ renderEmpty?: (info: React.ReactNode) => React.ReactNode;
117
117
  emptySubTitle?: string;
118
118
  emptyTitle?: string;
119
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qbs-react-grid",
3
- "version": "1.1.51",
3
+ "version": "1.1.52",
4
4
  "description": "A React table component",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -116,7 +116,7 @@ export interface QbsTableProps {
116
116
  };
117
117
  rowExpandedHeight?: number;
118
118
  renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
119
- renderEmpty: (info: React.ReactNode) => React.ReactNode;
119
+ renderEmpty?: (info: React.ReactNode) => React.ReactNode;
120
120
  emptySubTitle?: string;
121
121
  emptyTitle?: string;
122
122
  }