@fixefy/fixefy-ui-components 0.3.91 → 0.3.92
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.
|
@@ -18,7 +18,7 @@ function _interop_require_default(obj) {
|
|
|
18
18
|
default: obj
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
const FxGridEmptyState = ({ assetUrl })=>{
|
|
21
|
+
const FxGridEmptyState = ({ assetUrl, mainIcon, message })=>{
|
|
22
22
|
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_Box.default, {
|
|
23
23
|
sx: {
|
|
24
24
|
width: '100%',
|
|
@@ -46,7 +46,7 @@ const FxGridEmptyState = ({ assetUrl })=>{
|
|
|
46
46
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
47
47
|
width: 279,
|
|
48
48
|
height: 250,
|
|
49
|
-
icon: 'table/table_no_results.svg',
|
|
49
|
+
icon: mainIcon || 'table/table_no_results.svg',
|
|
50
50
|
assetUrl: assetUrl
|
|
51
51
|
}),
|
|
52
52
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_Box.default, {
|
|
@@ -65,7 +65,7 @@ const FxGridEmptyState = ({ assetUrl })=>{
|
|
|
65
65
|
flexDirection: 'column',
|
|
66
66
|
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_Typography.default, {
|
|
67
67
|
variant: "h5",
|
|
68
|
-
children:
|
|
68
|
+
children: message || 'There is currently no data to display.'
|
|
69
69
|
})
|
|
70
70
|
})
|
|
71
71
|
})
|
package/package.json
CHANGED