import { jsx as o } from "react/jsx-runtime";
import a from "../../utils/classNames.js";
import c from "../tag/TagList.js";
import m from "../tag/Tag.js";
const u = (r) => {
  const { tags: s, onRemoveFromTagList: t = () => {
  } } = r;
  return /* @__PURE__ */ o(c, { inline: !1, children: s.map((e) => {
    const l = a(
      e.toAdd && "border-color-success text-color-success",
      e.toRemove && "border-color-danger text-color-danger"
    );
    return /* @__PURE__ */ o(
      m,
      {
        className: l,
        deletable: !0,
        round: !1,
        onClick: () => t(e),
        children: e.label
      },
      e.label
    );
  }) });
};
export {
  u as default
};
//# sourceMappingURL=TagManagerItemList.js.map
