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 u = function(l) {
  const {
    active: a,
    as: n = "tr",
    className: e,
    dropOldClass: t,
    style: r,
    variables: o,
    variant: s,
    ...c
  } = l, i = b(() => {
    const m = f(!t && "", s && `table-${s}`, a && "table-active", e), p = v((C, T) => ({ tKey: d(T) }), o, r);
    return {
      className: m,
      style: p
    };
  }, [a, e, t, r, o, s]);
  return /* @__PURE__ */ y(n, { ...c, ...i });
};
u.displayName = "BRL.TableTr";
export {
  u as T
};
//# sourceMappingURL=table-tr.js.map
