// packages/preferences/src/components/preferences-modal/index.tsx
import { Modal } from "@wordpress/components";
import { __ } from "@wordpress/i18n";
import { jsx } from "react/jsx-runtime";
function PreferencesModal({
  closeModal,
  children
}) {
  return /* @__PURE__ */ jsx(
    Modal,
    {
      className: "preferences-modal",
      title: __("Preferences"),
      onRequestClose: closeModal,
      children
    }
  );
}
export {
  PreferencesModal as default
};
//# sourceMappingURL=index.mjs.map
