"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const React = require("react");
const ModalBase_context = require("./ModalBase.context.cjs");
function useModalBodyId() {
  const ctx = ModalBase_context.useModalBaseContext();
  React.useEffect(() => {
    ctx.setBodyMounted(true);
    return () => ctx.setBodyMounted(false);
  }, []);
  return ctx.getBodyId();
}
exports.useModalBodyId = useModalBodyId;
