@sinco/react 1.0.14-rc.62 → 1.0.14-rc.63
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +7 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -15300,23 +15300,26 @@ const EmptyStateImageUrls = {
|
|
15300
15300
|
};
|
15301
15301
|
const DefaultIcon = ({
|
15302
15302
|
state: _state = 'create',
|
15303
|
-
iconStyle
|
15303
|
+
iconStyle: _iconStyle = {
|
15304
|
+
width: '210px',
|
15305
|
+
height: '185px'
|
15306
|
+
}
|
15304
15307
|
}) => {
|
15305
15308
|
return /*#__PURE__*/React__default.createElement("svg", {
|
15306
|
-
style:
|
15309
|
+
style: _iconStyle
|
15307
15310
|
}, /*#__PURE__*/React__default.createElement("use", {
|
15308
15311
|
xlinkHref: `${emptyStateIcons}#${EmptyStateImageUrls[_state]}`
|
15309
15312
|
}));
|
15310
15313
|
};
|
15311
15314
|
const EmptyStateComponent = ({
|
15312
|
-
state
|
15315
|
+
state,
|
15313
15316
|
title,
|
15314
15317
|
content,
|
15315
15318
|
actions,
|
15316
15319
|
containerHeight: _containerHeight = '100%',
|
15317
15320
|
iconStyle,
|
15318
15321
|
icon: _icon = /*#__PURE__*/React__default.createElement(DefaultIcon, {
|
15319
|
-
state:
|
15322
|
+
state: state,
|
15320
15323
|
iconStyle: iconStyle
|
15321
15324
|
})
|
15322
15325
|
}) => {
|