@antdv-next/icons 1.0.4 → 1.0.5
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/dist/antd-icons.esm.js +1 -1
- package/dist/antd-icons.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/package.json +1 -1
package/dist/antd-icons.esm.js
CHANGED
|
@@ -1000,7 +1000,7 @@ var ot = /* @__PURE__ */ a((e, { slots: t, attrs: n }) => {
|
|
|
1000
1000
|
viewBox: d
|
|
1001
1001
|
};
|
|
1002
1002
|
d || delete _.viewBox;
|
|
1003
|
-
let v = C(t?.default?.()), y = C(t?.component?.());
|
|
1003
|
+
let v = C(t?.default?.()), y = C(t?.component?.(_));
|
|
1004
1004
|
O(!!(c || v.length || y.length), "Should have `component` prop or `children`.");
|
|
1005
1005
|
let b = () => t?.component ? t.component() : c ? i(c, _, t) : v.length ? (O(!!d || v.length === 1 && v[0]?.props?.type === "use", "Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."), i("svg", l(_, { viewBox: d }), [t?.default?.()])) : null, x = f;
|
|
1006
1006
|
return x === void 0 && p && (x = -1), i("span", l({ role: "img" }, n, {
|