import { jsx as d } from "react/jsx-runtime";
import { useMemo as p } from "react";
import { c as y, s as f, a as M } from "../tools/tools.js";
const u = function(l) {
  const { as: s = "div", className: t, dropOldClass: a, style: e, variables: o, ...r } = l, n = p(() => {
    const i = y(!a && "modal-title" + (s === "div" ? " h5" : ""), t), m = f((x, c) => ({ tKey: M(c) }), o, e);
    return {
      className: i,
      style: m
    };
  }, [s, t, a, e, o]);
  return /* @__PURE__ */ d(s, { ...r, ...n });
};
u.displayName = "BRL.ModalTitle";
export {
  u as M
};
//# sourceMappingURL=modal-title.js.map
