@luoluoyu/fluentui-plus 2.7.4 → 2.7.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/index.esm.js CHANGED
@@ -9997,7 +9997,7 @@ const xs = "fluentui-plus-upload", Gw = ({
9997
9997
  qw.Dragger = Zw;
9998
9998
  const zw = (n) => {
9999
9999
  const { tab: s, onClick: r } = n;
10000
- return $1(s.key) ? null : /* @__PURE__ */ x.jsx(yl, { icon: s.icon, onClick: r, children: /* @__PURE__ */ x.jsx("div", { children: s.label }) }, s.key);
10000
+ return $1(s.key) ? null : /* @__PURE__ */ x.jsx(yl, { icon: s.icon ?? null, onClick: r, children: /* @__PURE__ */ x.jsx("div", { children: s.label }) }, s.key);
10001
10001
  }, Yw = X_(F_, j_), Xw = (n) => {
10002
10002
  const { onTabSelect: s, items: r, menuMaxHeight: o, buttonProps: a } = n, { ref: u, isOverflowing: c, overflowCount: f } = P1(), g = (h) => {
10003
10003
  s == null || s(h);
@@ -10036,7 +10036,7 @@ const zw = (n) => {
10036
10036
  vertical: n,
10037
10037
  ...c,
10038
10038
  children: [
10039
- r == null ? void 0 : r.map((p) => /* @__PURE__ */ x.jsx(M1, { id: p.key, priority: p.key === f ? 2 : 1, children: /* @__PURE__ */ x.jsx(F1, { value: p.key, icon: p.icon, children: p.label }) }, p.key)),
10039
+ r == null ? void 0 : r.map((p) => /* @__PURE__ */ x.jsx(M1, { id: p.key, priority: p.key === f ? 2 : 1, children: /* @__PURE__ */ x.jsx(F1, { value: p.key, icon: p.icon ?? null, children: p.label }) }, p.key)),
10040
10040
  /* @__PURE__ */ x.jsx(
10041
10041
  Xw,
10042
10042
  {