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