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