'use strict';

var merge = require('lodash/merge');
var React = require('react');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var merge__default = /*#__PURE__*/_interopDefault(merge);

const PatchEnLocale = {
  Modal: {
    okText: "OK",
    justOkText: "OK"
  },
  Popconfirm: {
    okText: "OK"
    // ← 需要修改
  },
  DatePicker: {
    lang: {
      ok: "OK"
      // ← 需要修改
    }
  },
  Calendar: {
    lang: {
      ok: "OK"
    }
  }
};
const useAntdPatchEnLocales = (enLocale) => {
  return React.useMemo(() => merge__default.default(enLocale, PatchEnLocale), [enLocale]);
};

exports.useAntdPatchEnLocales = useAntdPatchEnLocales;
