import { jsxs as d, jsx as p } from "react/jsx-runtime";
import e from "../../utils/classNames.js";
import f from "./FormLabel.js";
const L = (l) => {
  const { label: a, htmlFor: s, labelProps: m = {}, noGap: o = !1, className: r = "", children: n, ...t } = l, { className: c, ...i } = m, b = e(c, o && "margin-bottom-0");
  return /* @__PURE__ */ d("div", { ...t, className: e("LabeledElement display-flex flex-column", r), children: [
    /* @__PURE__ */ p(f, { htmlFor: s, ...i, className: b, children: a }),
    n
  ] });
};
export {
  L as default
};
//# sourceMappingURL=LabeledElement.js.map
