@madie/madie-design-system 1.2.100 → 1.2.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.
@@ -13,6 +13,7 @@ const MadieTable = ({
13
13
  currentDirection,
14
14
  handleSort,
15
15
  renderExpandedRow,
16
+ emptyMessage = "No results were found",
16
17
  id="measureListTable",
17
18
  dataTestId = "measure-list-tbl"
18
19
  }) => {
@@ -112,7 +113,7 @@ const MadieTable = ({
112
113
  colSpan={table.getAllColumns().length}
113
114
  style={{ padding: "40px 0", textAlign: "center" }}
114
115
  >
115
- <span>No results were found</span>
116
+ <span>{emptyMessage}</span>
116
117
  </td>
117
118
  </tr>
118
119
  )}
@@ -153,6 +154,7 @@ MadieTable.propTypes = {
153
154
  currentDirection: PropTypes.oneOf(["ASC", "DESC"]),
154
155
  handleSort: PropTypes.func.isRequired,
155
156
  renderExpandedRow: PropTypes.func,
157
+ emptyMessage: PropTypes.node,
156
158
 
157
159
  id: PropTypes.string,
158
160
  dataTestId: PropTypes.string,