import { jsxs as a, jsx as t } from "react/jsx-runtime";
const i = (r) => {
  const { customRenderer: n, selectedAmount: e, counterMessage: s } = r;
  if (n)
    return n(e);
  if (s) {
    const o = e === 1 ? s.one : s.many;
    return /* @__PURE__ */ a("span", { children: [
      /* @__PURE__ */ t("span", { className: "option-counter margin-right-1", children: e }),
      /* @__PURE__ */ t("span", { className: "counter-message margin-left-1", children: o })
    ] });
  }
};
export {
  i as default
};
//# sourceMappingURL=MultiselectToggleCounter.js.map
