@omniumretail/component-library 1.1.22 → 1.1.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -221,7 +221,12 @@ export const ModalWithTable = (props: ModalWithTableProps) => {
221
221
 
222
222
  <div className={styles.tableWrapper}>
223
223
  {tableData &&
224
- <Table {...tableData} paginationInfo={setPageInfo} rowSelectionInfo={setRowSelectionInfo} headingTranslationsKey={'tableHeadings'} />
224
+ <Table
225
+ {...tableData}
226
+ paginationInfo={setPageInfo}
227
+ rowSelectionInfo={setRowSelectionInfo}
228
+ headingTranslationsKey={tableData.headingTranslationsKey ? tableData.headingTranslationsKey : 'tableHeadings'}
229
+ />
225
230
  }
226
231
  </div>
227
232