import React from 'react';
import ProField from '../../../wau-field';
import createField from '../../create-field';
import { jsx as _jsx } from "react/jsx-runtime";
const valueType = 'dateTimeRange';

/**
 * 日期时间区间选择组件
 *
 * @param
 */
const ProFormDateTimeRangePicker = /*#__PURE__*/React.forwardRef(({
  fieldProps,
  proFieldProps
}, ref) => /*#__PURE__*/_jsx(ProField, {
  ref: ref,
  text: fieldProps === null || fieldProps === void 0 ? void 0 : fieldProps.value,
  mode: "edit",
  fieldProps: fieldProps,
  valueType: valueType,
  ...proFieldProps
}));
export default createField(ProFormDateTimeRangePicker, {
  valueType,
  customLightMode: true
});