import { jsx as y } from "react/jsx-runtime";
import { useMemo as L } from "react";
import { c as d, f as x, s as C, a as h } from "../tools/tools.js";
const N = function(n) {
  const {
    as: c = "label",
    children: m,
    className: e,
    colFormLabel: s,
    dropOldClass: a,
    formCheckLabel: l,
    inputGroupText: o,
    style: r,
    variables: t,
    ...i
  } = n, f = L(() => {
    const p = d(
      !a && x(
        ["col-form-label", s],
        ["form-check-label", l],
        ["input-group-text", o],
        ["form-label", !0]
      ),
      e
    ), b = C((k, u) => ({ tKey: h(u) }), t, r);
    return {
      className: p,
      style: b
    };
  }, [e, s, a, l, o, r, t]);
  return /* @__PURE__ */ y(c, { ...i, ...f, children: m });
};
N.displayName = "BRL.Label";
export {
  N as L
};
//# sourceMappingURL=label.js.map
