@opencx/widget-react 4.0.0 → 4.0.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/index.js CHANGED
@@ -849,7 +849,9 @@ function Yo({
849
849
  variant: "ghost",
850
850
  size: "fit",
851
851
  className: "rounded-full",
852
- onClick: () => t(!1),
852
+ onClick: async () => {
853
+ e.handleClick && await e.handleClick(), t(!1);
854
+ },
853
855
  children: /* @__PURE__ */ o(Q, { name: e.icon })
854
856
  }
855
857
  );