wacomm 1.1.0 → 1.1.1
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/LikeIcon.d.ts +3 -2
- package/dist/{index-Dld4u45_.mjs → index-B1547Grs.mjs} +7 -3
- package/dist/{index-BiL1eHMz.js → index-bBWS9vVS.js} +2 -2
- package/dist/{mapbox-gl-CzIyLuXM.js → mapbox-gl-2tQ1Y1p1.js} +1 -1
- package/dist/{mapbox-gl-BOM2oAMz.mjs → mapbox-gl-ykdhm45P.mjs} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
package/dist/LikeIcon.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { ZeroFuncType } from 'waujs';
|
|
|
2
2
|
interface LikeIconProps {
|
|
3
3
|
isLiked: boolean;
|
|
4
4
|
count: number;
|
|
5
|
-
|
|
5
|
+
onLike: ZeroFuncType;
|
|
6
|
+
onDislike: ZeroFuncType;
|
|
6
7
|
}
|
|
7
|
-
declare function LikeIcon({ isLiked, count,
|
|
8
|
+
declare function LikeIcon({ isLiked, count, onLike, onDislike, }: LikeIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default LikeIcon;
|
|
@@ -13950,9 +13950,13 @@ function LN({
|
|
|
13950
13950
|
function BN({
|
|
13951
13951
|
isLiked: e,
|
|
13952
13952
|
count: t,
|
|
13953
|
-
|
|
13953
|
+
onLike: o,
|
|
13954
|
+
onDislike: n
|
|
13954
13955
|
}) {
|
|
13955
|
-
|
|
13956
|
+
const r = () => {
|
|
13957
|
+
e ? n() : o();
|
|
13958
|
+
};
|
|
13959
|
+
return /* @__PURE__ */ T.jsxs(ro, { onClick: r, children: [
|
|
13956
13960
|
e ? "❤️" : "🤍",
|
|
13957
13961
|
/* @__PURE__ */ T.jsx("span", { children: t })
|
|
13958
13962
|
] });
|
|
@@ -41963,7 +41967,7 @@ function KD(e) {
|
|
|
41963
41967
|
}, [r]), null;
|
|
41964
41968
|
}
|
|
41965
41969
|
const Hj = Cr(KD);
|
|
41966
|
-
const _D = import("./mapbox-gl-
|
|
41970
|
+
const _D = import("./mapbox-gl-ykdhm45P.mjs").then((e) => e.m), eE = v.forwardRef(function(t, o) {
|
|
41967
41971
|
return WD(t, o, _D);
|
|
41968
41972
|
}), kb = ZD;
|
|
41969
41973
|
const tE = $D;
|