import e, { useContext as n } from "react";
import o from "../../locales/zh-CN.mjs";
const r = {
  current: {
    locale: o
  }
};
function u() {
  return r.current;
}
const f = e.createContext(null);
function l() {
  var t;
  return (t = n(f)) !== null && t !== void 0 ? t : u();
}
export {
  r as defaultConfigRef,
  u as getDefaultConfig,
  l as useConfig
};
