qbs-react-grid 1.1.51 → 1.1.53
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/es/qbsTable/QbsTable.js
CHANGED
|
@@ -426,7 +426,7 @@ var QbsTable = function QbsTable(_ref) {
|
|
|
426
426
|
renderEmpty: function renderEmpty(info) {
|
|
427
427
|
return _renderEmpty ? _renderEmpty(info) : /*#__PURE__*/React.createElement(NoData, {
|
|
428
428
|
title: emptyTitle != null ? emptyTitle : 'No Data Found',
|
|
429
|
-
subtitle: emptySubTitle
|
|
429
|
+
subtitle: emptySubTitle
|
|
430
430
|
});
|
|
431
431
|
},
|
|
432
432
|
columns: columns,
|
|
@@ -113,7 +113,7 @@ export interface QbsTableProps {
|
|
|
113
113
|
};
|
|
114
114
|
rowExpandedHeight?: number;
|
|
115
115
|
renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
|
|
116
|
-
renderEmpty
|
|
116
|
+
renderEmpty?: (info: React.ReactNode) => React.ReactNode;
|
|
117
117
|
emptySubTitle?: string;
|
|
118
118
|
emptyTitle?: string;
|
|
119
119
|
}
|
package/lib/qbsTable/QbsTable.js
CHANGED
|
@@ -432,7 +432,7 @@ var QbsTable = function QbsTable(_ref) {
|
|
|
432
432
|
renderEmpty: function renderEmpty(info) {
|
|
433
433
|
return _renderEmpty ? _renderEmpty(info) : /*#__PURE__*/_react["default"].createElement(_empty["default"], {
|
|
434
434
|
title: emptyTitle != null ? emptyTitle : 'No Data Found',
|
|
435
|
-
subtitle: emptySubTitle
|
|
435
|
+
subtitle: emptySubTitle
|
|
436
436
|
});
|
|
437
437
|
},
|
|
438
438
|
columns: columns,
|
|
@@ -113,7 +113,7 @@ export interface QbsTableProps {
|
|
|
113
113
|
};
|
|
114
114
|
rowExpandedHeight?: number;
|
|
115
115
|
renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
|
|
116
|
-
renderEmpty
|
|
116
|
+
renderEmpty?: (info: React.ReactNode) => React.ReactNode;
|
|
117
117
|
emptySubTitle?: string;
|
|
118
118
|
emptyTitle?: string;
|
|
119
119
|
}
|
package/package.json
CHANGED
|
@@ -457,10 +457,7 @@ const QbsTable: React.FC<QbsTableProps> = ({
|
|
|
457
457
|
renderEmpty ? (
|
|
458
458
|
renderEmpty(info)
|
|
459
459
|
) : (
|
|
460
|
-
<NoData
|
|
461
|
-
title={emptyTitle ?? 'No Data Found'}
|
|
462
|
-
subtitle={emptySubTitle ?? 'No Data Found'}
|
|
463
|
-
/>
|
|
460
|
+
<NoData title={emptyTitle ?? 'No Data Found'} subtitle={emptySubTitle} />
|
|
464
461
|
)
|
|
465
462
|
}
|
|
466
463
|
columns={columns}
|
|
@@ -116,7 +116,7 @@ export interface QbsTableProps {
|
|
|
116
116
|
};
|
|
117
117
|
rowExpandedHeight?: number;
|
|
118
118
|
renderSortIcon?: (sortType?: 'desc' | 'asc') => React.ReactNode;
|
|
119
|
-
renderEmpty
|
|
119
|
+
renderEmpty?: (info: React.ReactNode) => React.ReactNode;
|
|
120
120
|
emptySubTitle?: string;
|
|
121
121
|
emptyTitle?: string;
|
|
122
122
|
}
|