sinking-antd 1.1.2 → 1.1.3

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/index.js CHANGED
@@ -80,7 +80,17 @@ var Icon = React__default.default.forwardRef(
80
80
  }
81
81
  if (type.startsWith("icon-")) {
82
82
  if (!IconfontIcon) {
83
- return /* @__PURE__ */ jsxRuntime.jsx("span", { ref, className: cx(styles.iconWrapper, className), style, onClick, ...rest, children: type });
83
+ return /* @__PURE__ */ jsxRuntime.jsx(
84
+ "span",
85
+ {
86
+ ref,
87
+ className: cx(styles.iconWrapper, className),
88
+ style,
89
+ onClick,
90
+ ...rest,
91
+ children: type
92
+ }
93
+ );
84
94
  }
85
95
  return /* @__PURE__ */ jsxRuntime.jsx(
86
96
  IconfontIcon,
@@ -99,7 +109,7 @@ var Icon = React__default.default.forwardRef(
99
109
  );
100
110
  var getAntdIconNames = () => {
101
111
  return Object.keys(AntdIcons__namespace).filter((key) => {
102
- return !key.startsWith("create") && !key.startsWith("set") && !key.startsWith("get") && key !== "default";
112
+ return !key.startsWith("create") && !key.startsWith("set") && !key.startsWith("get") && key !== "default" && key !== "IconProvider";
103
113
  });
104
114
  };
105
115
  var iconfontCache = null;