@fixefy/fixefy-ui-components 0.3.66 → 0.3.68
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.
|
@@ -17,26 +17,63 @@ function _interop_require_default(obj) {
|
|
|
17
17
|
default: obj
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
const FxGridError = ()=>{
|
|
20
|
+
const FxGridError = ({ header, message, image })=>{
|
|
21
21
|
return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
|
|
22
22
|
sx: {
|
|
23
23
|
width: '100%',
|
|
24
24
|
height: '100%',
|
|
25
|
-
textAlign: 'center',
|
|
26
|
-
justifyContent: 'center',
|
|
27
|
-
alignItems: 'center',
|
|
28
25
|
display: 'flex',
|
|
29
|
-
|
|
30
|
-
margin: 'auto'
|
|
26
|
+
p: '30px 0'
|
|
31
27
|
},
|
|
32
28
|
children: [
|
|
33
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)(
|
|
34
|
-
|
|
29
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
30
|
+
width: 380,
|
|
31
|
+
height: 415,
|
|
32
|
+
icon: 'general/hexagon_bottom.svg'
|
|
33
|
+
}),
|
|
34
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
|
|
35
|
+
display: 'flex',
|
|
36
|
+
flexDirection: 'column',
|
|
37
|
+
sx: {
|
|
38
|
+
width: '100%',
|
|
39
|
+
justifyContent: 'center',
|
|
40
|
+
margin: 'auto',
|
|
41
|
+
alignItems: 'center'
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
45
|
+
width: 345,
|
|
46
|
+
height: 412,
|
|
47
|
+
icon: image || 'general/bot_with_bubble.svg'
|
|
48
|
+
}),
|
|
49
|
+
/*#__PURE__*/ (0, _jsxruntime.jsxs)(_material.Box, {
|
|
50
|
+
sx: {
|
|
51
|
+
width: '100%',
|
|
52
|
+
height: '100%',
|
|
53
|
+
textAlign: 'center',
|
|
54
|
+
justifyContent: 'center',
|
|
55
|
+
alignItems: 'center',
|
|
56
|
+
display: 'flex',
|
|
57
|
+
flexDirection: 'column',
|
|
58
|
+
margin: 'auto'
|
|
59
|
+
},
|
|
60
|
+
children: [
|
|
61
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
|
|
62
|
+
variant: "h5",
|
|
63
|
+
children: header || 'Something went wrong on our end.'
|
|
64
|
+
}),
|
|
65
|
+
/*#__PURE__*/ (0, _jsxruntime.jsx)(_material.Typography, {
|
|
66
|
+
variant: "subtitle2",
|
|
67
|
+
children: message || 'Please try again later.'
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
})
|
|
71
|
+
]
|
|
35
72
|
}),
|
|
36
73
|
/*#__PURE__*/ (0, _jsxruntime.jsx)(_FxIcon.FxIcon, {
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
39
|
-
icon: 'general/
|
|
74
|
+
width: 416,
|
|
75
|
+
height: 377,
|
|
76
|
+
icon: 'general/hexagon_right.svg'
|
|
40
77
|
})
|
|
41
78
|
]
|
|
42
79
|
});
|
package/package.json
CHANGED