@idds/react 1.1.99 → 1.1.100
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.es.js
CHANGED
|
@@ -4709,7 +4709,8 @@ function Table({
|
|
|
4709
4709
|
rowClickable = false,
|
|
4710
4710
|
onRowClick,
|
|
4711
4711
|
lastColumnSticky = false,
|
|
4712
|
-
renderSortIndicator
|
|
4712
|
+
renderSortIndicator,
|
|
4713
|
+
emptyState = "No data found"
|
|
4713
4714
|
}) {
|
|
4714
4715
|
const [data, setData] = useState([]);
|
|
4715
4716
|
const [total, setTotal] = useState(0);
|
|
@@ -4960,7 +4961,7 @@ function Table({
|
|
|
4960
4961
|
{
|
|
4961
4962
|
colSpan: selectable ? columns.length + 1 : columns.length,
|
|
4962
4963
|
className: "ina-table__empty-cell",
|
|
4963
|
-
children:
|
|
4964
|
+
children: emptyState
|
|
4964
4965
|
}
|
|
4965
4966
|
) }) : data.map((row, index) => {
|
|
4966
4967
|
const key = String(row[rowKey]);
|