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