import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import React from "react";
import { Modal } from "antd";
//#region src/components/modal/index.tsx
const Modal$1 = (props) => {
	const innerProps = {};
	if (props.__designMode === "design") innerProps.open = true;
	return /* @__PURE__ */ React.createElement(Modal, _objectSpread2(_objectSpread2({}, props), innerProps));
};
Modal$1.info = Modal.info;
Modal$1.success = Modal.success;
Modal$1.error = Modal.error;
Modal$1.warning = Modal.warning;
Modal$1.warn = Modal.warn;
Modal$1.confirm = Modal.confirm;
//#endregion
export { Modal$1 as default };
