x-ui-design 0.2.73 → 0.2.74
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { EmptyContentProps } from '../../types/empty';
|
|
2
3
|
import './style.css';
|
|
3
|
-
declare const EmptyContent: ({ icon, style, className, title, description, prefixCls }: EmptyContentProps) =>
|
|
4
|
+
declare const EmptyContent: ({ icon, style, className, title, description, prefixCls }: EmptyContentProps) => React.JSX.Element;
|
|
4
5
|
export default EmptyContent;
|
package/dist/index.esm.js
CHANGED
|
@@ -1366,33 +1366,33 @@ const EmptyContent = ({
|
|
|
1366
1366
|
title = 'No Data',
|
|
1367
1367
|
description = 'No data',
|
|
1368
1368
|
prefixCls = prefixClsEmpty
|
|
1369
|
-
}) => /*#__PURE__*/React.createElement("div", {
|
|
1369
|
+
}) => /*#__PURE__*/React$1.createElement("div", {
|
|
1370
1370
|
style: style,
|
|
1371
1371
|
className: `${prefixCls} ${prefixCls}-normal ${prefixCls}-small ${className}`
|
|
1372
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
1372
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
1373
1373
|
className: `${prefixCls}-image`
|
|
1374
|
-
}, icon || /*#__PURE__*/React.createElement("svg", {
|
|
1374
|
+
}, icon || /*#__PURE__*/React$1.createElement("svg", {
|
|
1375
1375
|
width: "64",
|
|
1376
1376
|
height: "41",
|
|
1377
1377
|
viewBox: "0 0 64 41",
|
|
1378
1378
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1379
|
-
}, /*#__PURE__*/React.createElement("title", null, title), /*#__PURE__*/React.createElement("g", {
|
|
1379
|
+
}, /*#__PURE__*/React$1.createElement("title", null, title), /*#__PURE__*/React$1.createElement("g", {
|
|
1380
1380
|
transform: "translate(0 1)",
|
|
1381
1381
|
fill: "none"
|
|
1382
|
-
}, /*#__PURE__*/React.createElement("ellipse", {
|
|
1382
|
+
}, /*#__PURE__*/React$1.createElement("ellipse", {
|
|
1383
1383
|
fill: "#f5f5f5",
|
|
1384
1384
|
cx: "32",
|
|
1385
1385
|
cy: "33",
|
|
1386
1386
|
rx: "32",
|
|
1387
1387
|
ry: "7"
|
|
1388
|
-
}), /*#__PURE__*/React.createElement("g", {
|
|
1388
|
+
}), /*#__PURE__*/React$1.createElement("g", {
|
|
1389
1389
|
stroke: "#d9d9d9"
|
|
1390
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
1390
|
+
}, /*#__PURE__*/React$1.createElement("path", {
|
|
1391
1391
|
d: "M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"
|
|
1392
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
1392
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
1393
1393
|
d: "M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",
|
|
1394
1394
|
fill: "#fafafa"
|
|
1395
|
-
}))))), /*#__PURE__*/React.createElement("div", {
|
|
1395
|
+
}))))), /*#__PURE__*/React$1.createElement("div", {
|
|
1396
1396
|
className: `${prefixCls}-description`
|
|
1397
1397
|
}, description));
|
|
1398
1398
|
|