import { jsx as e } from "react/jsx-runtime";
import c from "../../utils/classNames.js";
const g = (a) => {
  const { children: t, inline: i = !0, autoTagWidth: r = !1, tagsPerRow: s, ...l } = a, o = c(
    "taglist",
    !r && "taglist-autowidth",
    !i && "taglist-vertical",
    s && "row display-flex-sm flex-wrap-sm",
    a.className
  ), n = /* @__PURE__ */ e("div", { className: `tags-per-row-${s}`, children: t });
  return /* @__PURE__ */ e("div", { ...l, className: o, children: s ? n : t });
};
export {
  g as default
};
//# sourceMappingURL=TagList.js.map
