import { __exportAll } from "../../../_virtual/_rolldown/runtime.mjs";
import { DateTimeField } from "../../inputs/datetimes/DateTimeField.mjs";
import { BaseTextPropertyWidget } from "./TextPropertyWidget.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/UI/property/widgets/DateTimePropertyWidget.jsx
var DateTimePropertyWidget_exports = /* @__PURE__ */ __exportAll({ default: () => DateTimePropertyWidget });
/**
* `date` property widget
*
* Outputs a DateTimePicker field
*/
const DateTimePropertyWidget = (props) => {
	const $ = c(2);
	let t0;
	if ($[0] !== props) {
		t0 = /* @__PURE__ */ React.createElement(BaseTextPropertyWidget, {
			component: DateTimeField,
			inputVariant: "outlined",
			...props
		});
		$[0] = props;
		$[1] = t0;
	} else t0 = $[1];
	return t0;
};
//#endregion
export { DateTimePropertyWidget_exports, DateTimePropertyWidget as default };

//# sourceMappingURL=DateTimePropertyWidget.mjs.map