@idds/react 1.1.99 → 1.1.101

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
@@ -2196,6 +2196,7 @@ function Chip({
2196
2196
  e.target.blur();
2197
2197
  }
2198
2198
  },
2199
+ showClearButton: false,
2199
2200
  className: "ina-chip__input",
2200
2201
  placeholder: "Masukkan data yang Anda inginkan"
2201
2202
  }
@@ -4709,7 +4710,8 @@ function Table({
4709
4710
  rowClickable = false,
4710
4711
  onRowClick,
4711
4712
  lastColumnSticky = false,
4712
- renderSortIndicator
4713
+ renderSortIndicator,
4714
+ emptyState = "No data found"
4713
4715
  }) {
4714
4716
  const [data, setData] = useState([]);
4715
4717
  const [total, setTotal] = useState(0);
@@ -4960,7 +4962,7 @@ function Table({
4960
4962
  {
4961
4963
  colSpan: selectable ? columns.length + 1 : columns.length,
4962
4964
  className: "ina-table__empty-cell",
4963
- children: "No data found"
4965
+ children: emptyState
4964
4966
  }
4965
4967
  ) }) : data.map((row, index) => {
4966
4968
  const key = String(row[rowKey]);