const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
let dayjs = require("dayjs");
dayjs = require_runtime.__toESM(dayjs);
require("./ReadPretty.less");
//#region src/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.tsx
const DateRangePickerReadPretty = (props) => {
	const { value, renderMode } = props;
	return /* @__PURE__ */ react.default.createElement("span", { className: (0, classnames.default)("pisell-date-range-picker-read-pretty", { "pisell-date-range-picker-read-pretty-table-view": renderMode === "tableView" }) }, value ? (0, dayjs.default)(value).format("YYYY-MM-DD HH:mm:ss") : "");
};
//#endregion
exports.default = DateRangePickerReadPretty;
