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