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