wacomm 1.1.3 → 1.2.0

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,7 +1,8 @@
1
+ import { ZeroFuncType } from 'waujs';
1
2
  interface LikeIconProps {
2
3
  isLiked: boolean;
3
4
  count: number;
4
- onClick: (isLiked: boolean) => void;
5
+ onClick: ZeroFuncType;
5
6
  }
6
7
  declare function LikeIcon({ isLiked, count, onClick, }: LikeIconProps): import("react/jsx-runtime").JSX.Element;
7
8
  export default LikeIcon;
@@ -13952,9 +13952,9 @@ function BN({
13952
13952
  count: t,
13953
13953
  onClick: o
13954
13954
  }) {
13955
- return /* @__PURE__ */ T.jsxs(ro, { onClick: () => o(e), children: [
13955
+ return /* @__PURE__ */ T.jsxs(ro, { onClick: o, children: [
13956
13956
  e ? "❤️" : "🤍",
13957
- /* @__PURE__ */ T.jsx("span", { children: t })
13957
+ t > 0 && /* @__PURE__ */ T.jsx("span", { children: t })
13958
13958
  ] });
13959
13959
  }
13960
13960
  var ri = { exports: {} }, xC = ri.exports, Af;
@@ -41963,7 +41963,7 @@ function KD(e) {
41963
41963
  }, [r]), null;
41964
41964
  }
41965
41965
  const Hj = Cr(KD);
41966
- const _D = import("./mapbox-gl-CcrAs5oj.mjs").then((e) => e.m), eE = v.forwardRef(function(t, o) {
41966
+ const _D = import("./mapbox-gl-C4lRRl0R.mjs").then((e) => e.m), eE = v.forwardRef(function(t, o) {
41967
41967
  return WD(t, o, _D);
41968
41968
  }), kb = ZD;
41969
41969
  const tE = $D;