import { DatePicker } from 'antd';
import React__default from 'react';

const FieldsDateTime = ({ input }) => /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(
  DatePicker,
  {
    onFocus: () => {
      var _a;
      return (_a = input.onFocus) == null ? void 0 : _a.call(input);
    },
    onBlur: () => {
      var _a;
      return (_a = input.onBlur) == null ? void 0 : _a.call(input);
    },
    showTime: true,
    defaultValue: input.value,
    onOk: input.onChange
  }
));
var FieldsDateTime$1 = FieldsDateTime;

export { FieldsDateTime$1 as default };
